No articles match
Simulation study example10 hours ago
Simulation setting | Design definition | Simulation run
Combination designs14 hours ago
Introduction | Single combination arm | Model specification | Model implementation | Design implementation | Other single agent models | Parallel monotherapy and combination arms | Customizations | Historical arms | Delayed arm opening | Disabling borrowing for arm decisions | Evaluating a fixed data scenario | References
Comparison with the decider package14 hours ago
Example | Using decider | Using crmPack | Comparison of fit | Comparison of model code | decider | crmPack | Conclusion | References
Covariance Structures11 days ago
Introduction | Covariance and Correlation Matrices | Transformation to Variance Parameters | Unstructured (us) | Homogeneous (ad) and Heterogeneous Ante-dependence (adh) | Homogeneous (toep) and Heterogeneous Toeplitz (toeph) | Homogeneous (ar1) and Heterogeneous (ar1h) Autoregressive | Homogeneous (cs) and Heterogeneous (csh) Compound Symmetry | Spatial Covariance Structure | Spatial exponential (sp_exp) | Spatial Gaussian (sp_gau) | References
Kenward-Roger11 days ago
Model definition | Linear model | Mathematical Details of Kenward-Roger method | Special Considerations for mmrm models | Derivative of the overall covariance matrix $\Sigma$ | Derivative of the $\Sigma^{-1}$ | Subjects with missed visits | Scenario under group specific covariance estimates | Scenario under weighted mmrm | Inference | Parameterization methods and Kenward-Roger | Implementations in mmrm | Spatial Exponential Derivatives | Spatial Gaussian Derivatives | References
Visit and Period Variables15 days ago
Introduction | Required Packages | Visit variables (AVISIT, AVISITN, AWLO, AWHI, ...) | Period, Subperiod, and Phase Variables | A Note on Study Specific Code | The Period/Phase Reference Dataset | Example Creation of the Period/Phase Reference Dataset | Creating the Period/Phase Reference Dataset from EX | Creating the Period/Phase Reference Dataset from ADSL | Creating ADSL Period, Subperiod, or Phase Variables | Creating BDS and OCCDS Period, Subperiod, or Phase Variables | Treatment Variables (TRTxxP, TRTxxA, TRTP, TRTA, ...) | Creating ADSL Treatment Variables | Creating BDS and OCCDS Treatment Variables
Model-Robust Variance Estimator for G-Computation16 days ago
Background | G-Computation Estimator | Covariance Estimator of $\hat{\theta}_t$ | Implementation
Prediction and Simulation16 days ago
Prediction of conditional mean | Mathematical Derivations | Implementation of predict | Parametric Sampling for Prediction Interval | Prediction of Conditional Mean for New Subjects | Simulate response | Conditional Simulation | Marginal Simulation | Implementation of simulate | Relationship Between predict and simulate Results | predict options | simulate options | Comparison with SAS
Ophthalmology Standards16 days ago
Introduction | Dataset Subdivision | Criterion Flags | Affected Eye Derivation | Differences between pre and post-dose IOP
Creating ADBCVA16 days ago
Introduction | Dataset Contents | Required Packages | Programming Workflow | Initial set up of ADBCVA | Deriving LogMAR Score Parameters | Further Derivations of Standard BDS Variables | Deriving Analysis Value Categories for Snellen Scores | Deriving Criterion Flags for BCVA Change | Additional Notes | Example Script
Creating ADOE16 days ago
Introduction | Dataset Contents | Required Packages | Programming Workflow | Initial set up of ADOE | Assigning PARAM/PARAMCD and AVISIT/AVISITN | Creating IOP pre to post-dose difference derived parameter | Further Derivations of Standard BDS Variables | Example Script
Creating ADVFQ16 days ago
Introduction | Dataset Contents | Required Packages | Programming Workflow | Reading In Data and Setting Up Lookup Tables | Original Items (param_lookup_original) | Transformed Records (param_lookup_transformed) | Composite Records (param_lookup_composite) | Initial Set Up and Mapping the Raw Records | Deriving the Transformed Parameters | Deriving the Composite Parameters | Composite Scores by Category | Overall Composite Scores | Further Derivations of Standard BDS Variables | Example Script
Get Started16 days ago
Introduction | What does {admiralophtha} offer? | Starting a Script | Support
Date and Time Imputation19 days ago
Introduction | Required Packages | Imputation Rules | Imputation on a Vector | Imputation Level | Minimum/Maximum Dates | Imputation Flags | Imputation Functions | Examples | Create an Imputed Datetime and Date Variable and Imputation Flag Variables | Create an Imputed Date Variable and Imputation Flag Variable | Impute Time without Imputing Date | Avoid Imputed Dates Before a Particular Date | Avoid Imputed Dates After a Particular Date | Imputation Without Creating a New Variable | Using More Than One Imputation Rule for a Variable
Creating a BDS Exposure ADaM19 days ago
Introduction | Programming Workflow | Read in Data | Derive/Impute Numeric Date/Time and Analysis Day (ADT, ADTM, ADY, ADTF, ATMF) | Compute duration for a record | Create 1:1 mapping records | Create Summary Records | Assign PARAMCD, PARAMN, etc. from Reference tables | Derive Categorization Variables (AVALCATy) | Assign ASEQ | Add the ADSL variables | Example Script
Creating a BDS Finding ADaM19 days ago
Introduction | Programming Workflow | Read in Data | Derive/Impute Numeric Date/Time and Analysis Day (ADT, ADTM, ADY, ADTF, ATMF) | Assign PARAMCD, PARAM, PARAMN, PARCAT1 | Derive Results (AVAL, AVALC) | Derive Additional Parameters (e.g. BSA, BMI or MAP for ADVS) | Derive Timing Variables (e.g. APHASE, AVISIT, APERIOD) | Timing Flag Variables (e.g. ONTRTFL) | Assign Reference Range Indicator (ANRIND) | Derive Baseline (BASETYPE, ABLFL, BASE, BNRIND) | Derive Change from Baseline (CHG, PCHG) | Derive Shift (e.g. SHIFT1) | Derive Analysis Ratio (R2BASE) | Derive Analysis Flags (e.g. ANL01FL) | Assign Treatment (TRTA, TRTP) | Derive Categorization Variables (AVALCATy) | Derive Criterion Variables (CRITy, CRITyFL, CRITyFN) | Derive New Rows | Example 1 (Creating a New Record): | Adding a New Record for the Last Value | Adding a New Record for the Minimum Value | Example 2 (Deriving a Summary Record) | Example 3 (Deriving a New PARAMCD) | Assign ASEQ | Add ADSL variables | Example Scripts
Creating a PK NCA or Population PK ADaM19 days ago
Introduction | Programming PK NCA (ADPC/ADNCA) Analysis Data | ADPC Programming Workflow | Read in Data | Expand Dosing Records | Find First Dose | Find Reference Dose Dates Corresponding to PK Records | Combine PC and EX Records and Derive Relative Time Variables | Derive Analysis Variables | Create DTYPE for Imputed records | Create Duplicated Records for Analysis | Combine ADPC data with Duplicated Records | Calculate Change from Baseline and Assign ASEQ | Add Additional Baseline Variables | Add the ADSL variables | Programming Population PK (ADPPK) Analysis Data | ADPPK Programming Workflow | Find First Dose ADPPK | Find Previous Dose | Combine PC and EX Records for ADPPK | Derive Analysis Variables and Dependent Variable DV | Add ASEQ and Remove Temporary Variables | Derive Numeric Covariates | Derive Additional Covariates from VS and LB | Combine Covariates with ADPPK Data | Example Scripts
Creating ADSL19 days ago
Introduction | Programming Flow | Read in Data | Derive Period, Subperiod, and Phase Variables (e.g. APxxSDT, APxxEDT, ...) | Derive Treatment Variables (TRT0xP, TRT0xA) | Derive/Impute Numeric Treatment Date/Time and Duration (TRTSDTM, TRTEDTM, TRTDURD) | Derive Disposition Variables | Disposition Dates (e.g. EOSDT) | Disposition Status (e.g. EOSSTT) | Disposition Reason(s) (e.g. DCSREAS, DCSREASP) | Randomization Date (RANDDT) | Derive Birth Date and Analysis Age (BRTHDT, AAGE, AAGEU) | Derive Death Variables | Death Date (DTHDT) | Cause of Death (DTHCAUS) | Duration Relative to Death | Derive the Last Date Known Alive (LSTALVDT) | Derive Groupings and Populations | Grouping (e.g. AGEGR1 or REGION1) | Population Flags (e.g. SAFFL) | Derive Other Variables | Example Script
Creating an OCCDS ADaM19 days ago
Introduction | Programming Workflow | Read in Data | Derive/Impute End and Start Analysis Date/time and Relative Day | Derive Durations | Derive ATC variables | Derive Planned and Actual Treatment | Derive Date/Date-time of Last Dose | Derive Treatment Dose and Unit | Derive Severity, Causality, and Toxicity Grade | Derive Treatment Emergent Flag | Derive Occurrence Flags | Derive Query Variables | Add the ADSL variables | Derive Analysis Sequence Number | Example Scripts
Hy's Law Implementation19 days ago
Introduction | Required Packages | Programming Workflow | Read in Data | Flagging Elevated Values (CRITy, CRITyFL) | Subsetting by LBTESTCD and Joining by Potential Events | How to Create New Parameters and Rows | Conclusion | Example Script
Lab Grading20 days ago
Introduction | Grading metadata | Structure of metadata set | Handling floating points when comparing numeric values | Creating the Lab Grade | Mapping ADLB to the TERM variable in the {admiral} metadata data set | Deriving Baseline Toxicity Grades | NCI-CTCAEV4 implementation | Terms graded | Updates made to TERM | Assumptions made when grading | NCI-CTCAEV5 implementation | Criteria dependent on the Baseline Value | NCI-CTCAEV6 implementation | DAIDS implementation | Terms with age or sex dependent grading criteria | US (Conventional) unit implementation | Conclusion
Creating a BDS Time-to-Event ADaM1 months ago
Introduction | Required Packages | Programming Workflow | Read in Data | Derive Parameters (CNSR, ADT, STARTDT) | Pre-Defined Time-to-Event Source Objects | Single Event | Add Additional Information for Events and Censoring (EVNTDESC, SRCVAR, ...) | Handling Subjects Without Assessment | Deriving a Series of Time-to-Event Parameters | Further Scenarios | Derive Analysis Value (AVAL) | Derive Analysis Sequence Number (ASEQ) | Add ADSL Variables
Deep Dive into xportr1 months ago
Introduction | What goes in a Submission to a Health Authority? | Study Data Standardization Plan | SDTM and ADaM Data Packages | What is {xportr} validating in these Data Packages? | {xportr} in action | Using options() and xportr_metadata() to enhance your experience. | You've got options() or xportr_options() | Are we being too verbose? | Going meta | Warnings and Errors | Setting up our metadata object | xportr_type() | xportr_length() | xportr_label() | xportr_order() | xportr_format() | xportr_write() | xportr() | Future Work
Getting Started1 months ago
Getting Started with xportr | Preparing your Specification Files | xportr_type() | xportr_length() | xportr_order() | xportr_format() | xportr_label() | xportr_write()
Unconditional Exact Confidence Interval for Difference in Proportions1 months ago
Definition | Implementation | Examples | Example 1 | Example 2 | Example 3 | Example 4 | References
Creating a Basic ADRS1 months ago
Important Note | Introduction | Programming Workflow | Read in Data | Pre-processing of Input Records | Select Overall Response Records and Set Parameter Details | Partial Date Imputation and Deriving ADT, ADTF, AVISIT etc | Derive AVALC and AVAL | Flag Worst Assessment at Each Date (ANL01FL) | Flag Assessments up to First PD (ANL02FL) | Derive Progressive Disease Parameter | Derive Response Parameter | Derive Clinical Benefit Parameter | Derive Best Overall Response Parameter | Derive Best Overall Response of CR/PR Parameter | Derive Response Parameters requiring Confirmation | Derive Parameters using Independent Review Facility (IRF)/Blinded Independent Central Review (BICR) responses | Derive Death Parameter | Derive Last Disease Assessment Parameters | Derive Measurable Disease at Baseline Parameter | Assign ASEQ | Add ADSL variables | Example Script
Creating ADRS (Including Non-standard Endpoints)1 months ago
Introduction | Programming Workflow | Read in Data | Pre-processing of Input Records | Select Overall Response Records and Set Parameter Details | Partial Date Imputation and Deriving ADT, ADTF, AVISIT etc | Derive AVALC and AVAL | Flag Worst Assessment at Each Date (ANL01FL) | Flag Assessments up to First PD (ANL02FL) | Select Source Assessments for Parameter derivations | Define Events | Derive Progressive Disease Parameter | Derive Response Parameter | Derive Clinical Benefit Parameter | Derive Best Overall Response Parameter | Derive Best Overall Response of CR/PR Parameter | Derive Response Parameters requiring Confirmation | Derive Non-standard Parameters | Adding a Criterion for Confirmed Clinical Benefit | Considering Non-Standard Response Values | Derive Parameters using Independent Review Facility (IRF)/Blinded Independent Central Review (BICR) responses | Derive Death Parameter | Derive Last Disease Assessment Parameters | Derive Measurable Disease at Baseline Parameter | Assign ASEQ | Add ADSL variables | Example Script
Creating ADTR1 months ago
Introduction | Required Packages | Programming Workflow | Read in Data | Merge TR with TU and Derive New Variables | Pre-processing of Input Records | Partial Date Imputation and Deriving ADT, ADTF, AVISIT etc | Unscheduled visits | Derive Parameters for Lesion Diameters (LDIAMn & NLDIAMn) | Derive Parameter for Sum of Diameter and Analysis Flag ANL01FL | Derive Baseline (ABLFL, BASE) | Derive NADIR | Derive Change from Baseline (CHG, PCHG) | Derive Additional Flag Variables | Derive PDFL | 1. Take the date of PD from ADRS | 2. Take the first date when the overall response is PD from RS | 3. Target lesion response of no CR at the current observation visit and but a CR response at the NADIR observation | 4. Calculate from source data | Derive Analysis Flags ANLzzFL | Derive Analysis Sequence Number (ASEQ) | Add ADSL Variables | Example Script
Creating ADTTE1 months ago
Introduction | Required Packages | Programming Workflow | Read in Data | Derive Parameters (CNSR, ADT, STARTDT) | Pre-Defined Time-to-Event Source Objects | Creating Your Own Time-to-Event Source Objects | Derive Analysis Value (AVAL) | Derive Analysis Sequence Number (ASEQ) | Add ADSL Variables | Example Script
Creating ADRS with GCIG Criteria1 months ago
Introduction | CA-125 response categories | Ways the data is collected in the Ovarian Cancer study CRF | Required: | May be Collected: | Assumptions: | styler: off | styler: on | Required Packages | Programming Workflow | Read in Data | Pre-processing of Input Records | Select Overall Response Records per Response Criteria Category | Partial Date Imputation and Deriving ADT, ADTF, AVISIT etc. | Derive AVALC and AVAL | Analysis Flag Derivation | Flag One Assessment at Each Analysis Date (ANL01FL) | Flag Assessments up to First PD or After Receiving Mouse Antibodies (ANL02FL) | CA-125 Response Evaluable Flag | Select Source Assessments for Parameter Derivations | CA-125 Progression | CA-125 Progression Category | CA-125 Best Confirmed Overall Response | Combined Best Unconfirmed Overall Response | Combined Best Confirmed Overall Response | Other Endpoints
Modifying a teal Application With R Options1 months ago
Motivation | Setting an option | Options used in a teal application | teal.bs_theme (bslib::bs_theme object) | teal.load_nest_code (character) | teal.threshold_slider_vs_checkboxgroup (numeric) | teal.basic_table_args (basic_table_args object) | teal.ggplot2_args (ggplot2_args object) | teal.plot_dpi (integer value 24 or larger) | teal.log_layout (character) | teal.log_level (character) | teal.show_js_log (logical) | teal.lockfile.mode (character) | teal.sidebar.position (character) | teal.sidebar.width (numeric) | teal.reporter.nav_buttons (character) | teal.reporter.rmd_output (character) | teal.reporter.rmd_yaml_args (character) | teal.reporter.global_knitr (list) | teal.reporter.max_request_size (numeric) | teal.show_src (logical) | teal.enable_deep_linking (logical) | teal.snapshot_manager.enable (logical) | Deprecated options | teal_logging | teal_show_js_log | teal.ui.class (character(1))
Time-to-Event Analyses2 months ago
Decorate Module Output2 months ago
Introduction | Outputs that can be decorated | Decorating ElementaryTable | Decorating ggplot | Decorating grob | Decorating datatables | Decorating patchwork
Using scatterplot matrix2 months ago
teal application to use scatter plot matrix with various datasets types | 1 - Load libraries | 2 - Create data sets | 3 - Create an app variable | 4 - Run the app | 5 - Try it out in Shinylive
Creating an ADAB ADaM2 months ago
Estimands2 months ago
Building Specification Readers2 months ago
Creating Questionnaire ADaMs2 months ago
Introduction | Required Packages | Example Data | Original Items | Transformed Items | Scales and Scores | Time to Deterioration/Improvement | Time to Confirmed/Definitive Deterioration/Improvement | Worst/Best Answer | Completion
Introduction to tern.rbmi3 months ago
Example of using tern.rbmi | The Data | Creating intercurrent event data | Draws | Define key variables | Impute | Analyze | Pool | Create output
Pathing and Table Structure3 months ago
Introduction | An Illustrative Example | Row Paths | Column Paths | Uniqueness of Paths | Wildcards In Paths | Operating On Tables With Paths | Column Counts | Section Dividers | Sorting Within An rtables Table | Extracting And Modifying Values | Footnotes | Table Structure And Technical Details | Row Structure | Label And Group Summary Rows | Column Structure
rbmi: Implementation of retrieved-dropout models using rbmi3 months ago
Getting Started with teal4 months ago
Introduction | Your first teal application: | Try the above app in shinylive | Creating your own applications | Application data | Modules | Defining filters | Reporting | Reproducible code | Embedding teal in shiny application | Where to go next
Transform Module Output4 months ago
Introduction | How to Transform outputs? | Requirements and Limitations | Building Output Transformations (Decorators) | Server | UI | Variable Names as Arguments | Using Output Transformations (Decorators) | Single Transformation (Decoration) | Module | Application | Transforming Multiple Outputs (Decorators) | Transformators | Convenience | Reducing Boilerplate | Multiple Transformations
Bootstrap Themes in teal4 months ago
Introduction | Usage | teal.bs_theme R option | Bootstrap version and themes | Default Bootstrap theme | Reset the Bootstrap theme | Theme not updated | Custom teal CSS | Bootstrap NULL vs Bootstrap 3 | Regular shiny::fluidPage | Interactive theming guide | Set overall app theme | Customize a bootswatch theme | Apply the customized theme | Try the above app in shinylive | Sources
Descriptive Statistic Layers4 months ago
Built-in Summaries | Notes About Built-in's | Custom Summaries
Tplyr Options4 months ago
Default Layer Formats | Precision Cap | Custom Summaries | Scientific Notation | Quantile Algorithms | IBM Rounding
Totals, Missings, and Denominators4 months ago
Population Data in the Denominator | Denominator Grouping | Count layers | Shift layers | Controlling the Denominator Filter | Missing Counts | Missing Subjects | Adding a 'Total' Row
Layer Templates4 months ago
Basic Templates | Templates With Parameters | Viewing and Removing Templates
Shift Layers4 months ago
A Basic Example | Filling Missing Groups Using Factors | Where to go from here
Getting started5 months ago
Introduction | Default Logging Setup of teal.logger | Customizing the Log Level | Customizing the Log Layout | Customizing the Log Destination | Logging in Other teal.X Packages | Example of Usage
Get Started with {tidyCDISC}5 months ago
Data Upload | Table Generator | Population Explorer | Individual Explorer | Recap & what's next?
Backfill cohorts5 months ago
Introduction | Framework | Algorithm | Examples | Standard components | No backfill cohorts | Simple backfill cohorts | More complex backfill cohorts | Simulations with backfill cohorts | Investigating single trial data | Investigating simulation results | Limitations | Backwards Compatibility | References
crmPack: Object-oriented implementation of CRM designs5 months ago
Installation | Getting started | Data | Structure of the model class | Model setup | Logistic model with bivariate (log) normal prior | Advanced model specification | Obtaining the posterior | Plotting the model fit | Escalation Rules | Increments rules | Rules for next best dose recommendation | Cohort size rules | Stopping rules | Simulations | Examining single trial behavior | Simulating from a true scenario | Predicting the future course of the trial | Simulating 3+3 design outcomes | Dual-endpoint dose escalation designs | Dual-endpoint designs with a joint model | Dual-endpoint designs with separate models | References
Rolling CRM Example5 months ago
Example 1: Recommend a dose for the next cohort | Setting up the data | Structure of the model class | Obtain the posterior | Use ggmcmc to diagnose | Plot the model fit | prior mean curve | Escalation rules | Recommended dose for the next cohort | Example 2: Run a simulation to evaluate operating characteristics | Set up safety window and DADesign to be completed | Set up true curves | Perform the simulations | Interpret the simulation results
Get Started5 months ago
Introduction | Creating Oncology ADaM Datasets | Support
Creating ADRS with Prostate Cancer Working Group 3 (PCWG3) Criteria5 months ago
Introduction | PCWG3 Guidelines for Prostate Cancer Response | Prostate-specific antigen (PSA) | Bone Response Categories Based on PCWG3 Guidelines: | Progressive Disease Unconfirmed (PDu) | Progressive Disease (PD) | Not Evaluable (NE) | No Evidence of Disease (NED) | Non-Progressive Disease (Non-PD) | Bone Lesion Confirmation Guidance (The 2+2 Flare Rule) | Examples of the 2+2 Rule | Programming Workflow | Required Packages | Read in Data | Pre-processing of Input Records | Partial Date Imputation and Deriving ADT, ADTF, AVISIT, AVISITN etc. | Derive PARAMCD, PARAM, PARAMN | RECIST 1.1 and Bone Response Combined Based on PCWG3 Guidelines | Derive Combined Overall Time Point Response by Investigator (OVRLRESC) Parameter | Table : Combined Overall Time Point Response as per summarized PCWG3 guidelines | Derive Combined Overall Time Point Response by Investigator (OVRLRESC) Records referenced from above table. | Derive AVAL (Numeric tumor response from AVALC values) | Best Overall Response (BOR) and Confirmed Best Overall Response (CBOR) | Define Events for Best Overall Response (BOR) | Derive Best Overall Response (BOR) | Derive Confirmed BOR (CBOR) | PSA Analysis | Derive BASE, CHG, PCHG for PSA (ADPSA) | Define Events for all PSA endpoints | Derive Unconfirmed PSA50 PSA90 (PSAURS) | Derive Confirmed PSA50 PSA90 (PSACRS) | Other Endpoints
Get Started5 months ago
Introduction | Derivations | Input and Output | Starting a Script | Support
Trial Analysis5 months ago
Introduction | The dose grid | The dose-toxicity model | The increment rule | The dose selection rule | The cohort size | The stopping rule | Trial definition | Analysing a trial | The single patient run-in | The first full cohort | The second full cohort | The third full cohort | The fourth full cohort | The fifth full cohort | Summarising the trial results | Note | References
Example5 months ago
Example Data Generation5 months ago
Generating minimal data to test teal.modules.clinical | Setup & Helper Functions | ADSL | ADAE | ADAETTE | ADCM | ADEG | ADEX | ADLB | ADMH | ADQS | ADRS | ADTTE | ADVS | Generate Data
Generic Derivations5 months ago
Introduction | Required Packages | Characterization of Derivations | Overview of Derivations | Source Data | Single Source Dataset | Multiple Source Datasets | Methods | Selection | Options for Selection | Sort Order | New Values | Summary | Computed
Details of Weighted Least Square Empirical Covariance6 months ago
Weighted Least Square (WLS) Empirical Covariance | Difference of Implementations | Proof of Identity | Proof for Covariance Estimator | Proof for Degrees of Freedom | Special Considerations in Implementations | Pseudo Inverse of a Matrix | Avoiding the Crossproduct of the G Matrix | References
Package Structure6 months ago
Introduction | Package Structures | data | data-raw | design | SAS | TMB | inst | man | NAMESPACE | NEWS.md | R | README | simulations | src | chol_cache.h | covariance.h | derivatives.h | empirical.cpp | exports.cpp | jacobian.cpp | kr_comp.cpp | Makevars | mmrm.cpp | predict.cpp | test files | tmb.cpp and tmb_includes.h | utils.h | tests | vignettes | Other files | _pkgdown.yml | .gitignore | .lintr | .pre-commit-config.yaml | .Rbuildignore
Get Started6 months ago
Overview of TLG Programming | Prep environment | titles and footnotes | Column metadata | Process data | Generate results | Output results | Listing programming | Graph programming | Metadata method | By processing
Column Metadata & How tidytlg Sets Up Your Data Using tlgsetup6 months ago
Manipulating tbl data frame6 months ago
Introduction | Basic tbl data frame | Formatting table | Add new row | Add indentation | Enable bold font | Formatting functions
Tips & Tricks: Including Symbols, Superscripts, Subscripts & Line Breaks6 months ago
Symbols | Superscripts and Subscripts | Inline RTF Line Breaks
Frequency Analysis6 months ago
Introduction | Counts: statlist = statlist("n") | Big N row, counts and percentages: statlist = statlist(c("N", "n (x.x%)")) | Using factor to order category summary | Counts, denominators, and percentages: statlist = statlist(c("n/N (x.x%)")) | By processing: statlist = statlist(c("N", "n (x.x%)")) | Padding factor levels on and off | Denominator Dataframe | By processing and denominators: statlist = statlist(c("n (x.x)"), denoms_by = "TRT01AN") | Available statlist formats for frequency summary | Nested Frequency Analysis
Univariate Statistics Analysis6 months ago
Introduction | Customizing Univariate Statistics | Decimal Precision | Data Driven Precision
qenv7 months ago
Introduction to qenv | Initialization | qenv basic usage | Substitutions | Combining qenv objects | Warnings and messages in qenv objects | Utilizing qenv inside shiny applications | Reproducibility | qenv and teal applications
Details of Hypothesis Testing7 months ago
Introduction to Type I/II/III Hypothesis Testing | Contained Effect | Type II Hypothesis Testing | Type III Hypothesis Testing | Hypothesis Testing in SAS | Special Considerations | Reference Levels | Example of Reference Levels | Why Model Covariate Order Changes My Testing in SAS? | Why mmrm Gives More Covariates Than SAS? | Excluding columns due to collinearity | Intercept-free models | Intercept-free Models with stats::model.matrix() | Intercept-free Models with PROC MIXED | Type-II Contrast Matrices in Intercept-free Models
Tips when exporting large listing7 months ago
Introduction
Describing crmPack Objects7 months ago
Introduction | How is this done? | Using knit_print in crmPack | Common customisations | Rendering complex classes | Design | Dose toxicity model | Stopping rule | Escalation rule | Use of placebo | Dose recommendation | Cohort size | Observed data | Starting dose | Restoring console-like behaviour | Accessing the output of knit_print | Providing your own knit_print method | Class coverage
Model-based Dose Escalation Designs in R with crmPack (JSS manuscript)7 months ago
Abstract | Introduction | Framework | Using crmPack | Implementing a CRM trial | Dose escalation with safety and efficacy | Extending crmPack functionality | Summary | Acknowledgments | References
Trial Design: basic sanity checks7 months ago
Introduction | Study definition | Incoherence and rigidity | Does the prior make sense? | Final observation | References
Upgrading from crmPack version 1.07 months ago
Class and slot changes | Naming convention motivation | New classes | Renamed classes | Renamed slots | Moved dose and prob Functions from Slots to Methods | Generate data, define a model and get samples | Dose | Prob | New Random Number Generator settings for the MCMC | New no-argument constructors | Handling of NA or placebo returned as next dose | Evaluation of stopping rules at a specific dose | Further details in class and methods name changes | Classes | Methods | References
Intermediate rtables - Identifying Required Analysis Behavior7 months ago
Introduction | Who Are Your Numbers And What Do They Do? | There's Counting And Then There's Counting... | Denominators | "Yeah But What If" ... Conditionality In afuns | Conditionality Based On Column Facet | Conditionality Based On Row Facet | Why Not Both? | A Final Note On afun Complexity
Intermediate rtables - Translating Shells To Layouts7 months ago
Introduction | A Table Shell | A Brief Review Of rtables Layouts | Translating | Translating Column Structure | Translating Row Structure | Translating Cell Contents | Spanning Column Headers | Heterogeneous Column Structures (e.g., Risk Difference Columns) | Risk Difference Columns | Column-structure Aware Analysis Functions | Mixed Nesting Levels
teal_report Class7 months ago
Introduction | Creating a teal_report | Adding content to the teal_report | Adding arbitrary markdown content | Adding reproducible code chunks | Modify teal_report content | Document metadata | Preview report | Output teal_report | Key Benefits | Further Reading
A Guided Tour of rtables - Intermediate8 months ago
Scope and Audience | Chapters
Intermediate rtables - Identifying Required Faceting Behavior8 months ago
Introduction | A Brief Review | Split Function Basics | Default Faceting | Recognizing Non-Full-Factorial Faceting | Excluding Factor Levels | Adding Combination Levels | Nested Faceting On Non-Independent Variables | Facets That Vary Meaning Instead of Data Subset | Combining These Faceting Needs
Getting Started with teal.reporter8 months ago
Introduction | Integration with teal | Automatic Report Functionality | More control
Reportable Shiny Application8 months ago
Introduction | Reporter Modules | Module Overview
Adding Support for Reporting to Custom Modules8 months ago
Introduction | Custom module | Add support for reporting | Modify the declaration of the server function | Return the reporter object | Add content to the card | Add non-text content to the card | Removing support for displaying reproducible code | Removing reporting | Customizing the reporter
Creating Custom Modules8 months ago
Introduction | Understanding the Inputs and Requirements | Setting Up the teal Module UI | Setting Up the teal Module Server | Passing the data Argument to the Server Function | Understanding teal_data as a Reactive Object in Server Logic | Using names() to Access Dataset Names in teal_data object | Accessing Specific Datasets with Double Brackets ([[ ]]) | Setting Up Server Logic Using teal_data and Dynamic Variable Injection | Creating the Custom teal Module Function | Integrating the Custom teal Module into a teal App | What's next? | Adding reporting to a module | Using standard widgets in your custom module
Creating ADFACE9 months ago
Introduction | Programming Workflow | Read in Data | Pre-processing of Input Dataset | Merge FACE with EX | Merge Required ADSL Variables Needed for Analysis | Derive Fever Records from VS Domain | Derive/Impute Numeric Date/Time and Analysis Day (ADT, ADTM, ADTF, ATMF, ADY) | Derive Period Variables (e.g. APxxSDT, APxxEDT, ...) | Derive Direct Mapping Variables | Derive AN01FL | Derive Severity Records for Administration Site Events | Derive Maximum Records | Assign PARAMCD, PARAM, PARAMN, PARCAT1 | Derive Maximum Severity Flag | Derive Event Occurrence Flag | Post-processing of the Dataset | Add ADSL variables | Example Script
Creating ADSL9 months ago
Introduction | Programming Flow | Read in Data | Derive Period, Subperiod, and Phase Variables (e.g. APxxSDT, APxxEDT, ...) | Derive Treatment Variables (TRT0xP, TRT0xA) | Derive/Impute Numeric Treatment Date/Time and Duration (TRTSDTM, TRTEDTM, TRTDURD) | Population Flags (e.g. SAFFL) | Derive Vaccination Date Variables | Create Period Variables (Study Specific) | Derive Other Variables | Add Labels and Attributes | Example Script
Generating Templates with table_templates.R9 months ago
Overview | List available templates | Generate a template for your own table | Notes | Customize the template
Filter Panel for Developers11 months ago
Filter Panel API | Getting and setting filter states | 1. Setting the filter state | 2. Updating filter states. *Works only in the shiny reactive context. | 3. Getting the filter state | 4. Removing filter states | 5. Clearing the filter state | Controlling settings of the filter panel | Filter panel as a module
Quick start: substitute for NSE11 months ago
Introduction | The Basics | NSE Principle | Replace an object name | What about dataframe names? | In a nutshell | rtables | Direct use of substitute | substitute in a function | Chain expressions in a pipeline | Including pre-processing
Generating AI-Powered speaker notes11 months ago
Overview | Prerequisite | The Workflow | Step 1: Initial Slide Generation | Step 2: Adding AI Footnotes | Example: Using a Local LLM | Step 3: Create the Final PowerPoint File | Appendix | Running Your Local LLM
Automatic Script Sourcing11 months ago
Basic AUTOS Configuration | Working Example: Single Script Library | Loading and Using Auto-Sourced Functions | Multiple Script Libraries | Using Multiple Libraries | Understanding Function Conflicts and the Overwrite Parameter | Quick Example of Function Conflicts | Environment-Specific Auto-Sourcing | How Auto-Sourcing Works | Technical Details of Conflict Handling | Benefits of Auto-Sourcing | Common Use Cases | Project Utilities | Environment-Specific Functions | Team Libraries | Managing Function Conflicts with the Overwrite Parameter | Default Behavior: Overwrite = TRUE | Conservative Behavior: Overwrite = FALSE | Understanding Conflict Detection | Function Metadata Tracking | How Metadata Tracking Works | Accessing Function Metadata | Benefits of Metadata Tracking | 1. Debugging Function Issues | 2. Audit Trail | Metadata and the detach_autos() Function | Best Practices
Basic Path Configuration11 months ago
Understanding Path Configuration | Configuration Structure Levels | Level 1: Execution Environment | Level 2: Paths and Autos | Level 3: Specific Configuration | Working Example | Loading and Using the Configuration | Accessing Your Configured Paths | How It Works | Benefits | Next Steps
Dynamic Path Management11 months ago
Advanced Path Resolution | The Problem: Moving Data | Solution: Multiple Path Locations | Working Example Setup | Understanding the Configuration | Using read_path() for Smart File Location | Path Search Order | Controlling Search Order with envsetup_environ | Environment-Specific Path Resolution | Production Path Resolution | Practical Usage Pattern | Benefits of Dynamic Paths | Common Patterns | Development-First Search | Production-Only Search | Next Steps
Managing Multiple Environments11 months ago
Multiple Environment Configuration | The Challenge | Environment-Specific Configuration | Working Example | Loading Different Environments | Default Environment | QA Environment | Production Environment | Configuration Inheritance | Environment Selection Strategies | 1. Environment Variable | 2. Programmatic Selection | Best Practices | Next Steps
Including Data in teal Applications11 months ago
Data in teal Applications | General data | Reproducible data | code from file | Creating data in-app | Clinical data | ADaM data | MultiAssayExperiment data | teal_data properties | join_keys | verified | Hidden datasets | Further reading
Customizing TLG Visual Formats11 months ago
Overview | Pattern A: autoslider Base Theme | Pattern B: Simple Theme Wrappers | Pattern C: Standalone Formats | How to Apply Your Custom Formats | Example: Visualize the output of your format implementation
Rebuilding Cached Random CDISC Data12 months ago
Getting Started | Code Maintenance | Update Cached Data
Generating placeholder slides for your presentation12 months ago
Overview | Generating a Deck with append_all_slides | Example: Generating placeholder slides | Notes
Adding custom templates to autoslider.core as a developer1 years ago
Overview | Step 1: Write your template | Step 2: Create a softlink in inst/templates/ | Step 3: Verify with list_all_templates() | Step 4: Generate with use_template()
Column Counts and Formats1 years ago
The Old Way | Setting column counts to visible at Layout time | Modifying counts on an existing table | Hiding counts | Higher Level Column Counts | Setting Column Counts to Visible at Layout Time | Manipulating Column Counts In An Existing Table | Setting individual column counts | Setting Col Count Visibility | Advanced Settings
Pruning and Sorting Tables1 years ago
Introduction | A Table In Need of Attention | Trimming | Trimming Rows | Trimming Columns | Pruning | Sorting | Sorting Fundamentals | Wildcards in Sort Paths | Sorting Within an Analysis Subtable | Writing Custom Pruning Criteria and Scoring Functions | Useful Functions and Accessors | Example Custom Scoring Functions | Sort by a character "score" | Sort by the Percent Difference in Counts Between Genders in Arm C
Subsetting and Manipulating Table Contents1 years ago
Introduction | Traditional Subsetting and modification with [ | Dealing with titles, foot notes, and top left information | Path Based Cell Value Accessing:
Comparison with other software1 years ago
Introduction | Datasets | FEV Data | BCVA Data | Model Implementations | Ante-dependence (heterogeneous) | PROC GLIMMIX | mmrm | Ante-dependence (homogeneous) | Auto-regressive (heterogeneous) | gls | Auto-regressive (homogeneous) | glmmTMB | Compound symmetry (heterogeneous) | Compound symmetry (homogeneous) | Spatial exponential | Toeplitz (heterogeneous) | Toeplitz (homogeneous) | Unstructured | lmer | Benchmarking | Convergence Times | Marginal Treatment Effect Estimates Comparison | Impact of Missing Data on Convergence Rates | Session Information
Combining Data Extract with Data Merge1 years ago
Step 1/5 - Preparing the Data | Step 2/5 - Creating data extract specifications | Step 3/5 - Creating the UI | Step 4/5 - Creating the Server Logic | Step 5/5 - Creating the shiny App | Try it out in Shinylive
Data Extract1 years ago
data_extract_spec | Step 1/4 - Preparing the Data | Step 2/4 - Creating a data_extract_spec Object | Step 3/4 - Creating the shiny UI and Server Modules | Step 4/4 - Creating the shiny App | Try it out in Shinylive
Data Merge1 years ago
merge_expression_module | Step 1/5 - Preparing the Data | Step 2/5 - Creating the Data Extracts | Step 3/5 - Creating the UI | Step 4/5 - Creating the Server Logic | Step 5/5 - Creating the shiny App | data_extract_multiple_srv + merge_expression_srv | Modifying the Server Logic | Updating the shiny app | Output from merging | Merging of non CDISC datasets
Tips1 years ago
1: Safely set autos
logrxpackage1 years ago
Generating a log | axecute() | logrx addin: | Log attributes
Generate renv lockfile from log file1 years ago
Exporting listings1 years ago
Introduction to {rtables.officer}1 years ago
Advanced Customizations | Column Widths | Pagination | Horizontal separators (note section_div = )
Logging Unapproved Package and Function Use1 years ago
Why would I use this feature? | How do I use this feature? | 1. Create a named list | 2. Build approved.rds | 3. Save as approved.rds | 4. Update the logrx.approved option | 5. You're done. Let's axecute! | Example | A Few Words of Caution
logrx Options1 years ago
log.rx.lint | log.rx.approved
Higher Order Functions1 years ago
Introduction | Required Packages | Call Derivation | Restrict Derivation | Slice Derivation | Combining Higher Order Functions
Tabulation1 years ago
tern Tabulation | tern Analyze Functions | Internals of tern Analyze Functions | Tabulation Examples | Demographic Table | Adverse Event Table | Statistics Functions | Response Table | Summary
Decorate Module Output1 years ago
Introduction | Outputs that can be decorated | Decorating listing_df, ElementaryTable, TableTree | Decorating ggplot | Decorating datatables
Guidelines for building downstream autoslider.* packages1 years ago
Transform Input Data1 years ago
Introduction | Creating a data transformation module | Single transformator | Multiple transformators | Targeting multiple datasets | Targeting one dataset
Getting Started with teal.transform1 years ago
Introduction | Data Extraction and Data Merging
Data as shiny Module1 years ago
Introduction | Creating data in-app | Modification of data in-app | WARNING | Extending existing teal_data_modules
Teal as a Shiny Module1 years ago
Introduction | Example
Filter Panel1 years ago
teal apps with the filter panel | Extending teal.slice | Filter panel respective to teal_module | Global and module specific filter panel
Introduction to teal.slice1 years ago
Introduction | Information for users of the filter panel in applications | Information for R developers using the filter panel
Getting started with teal.modules.general1 years ago
Introduction | Main features | Example application | Try it out in Shinylive
Using association plot1 years ago
teal application to use association plot with various datasets types | 1 - Load libraries | 2 - Create data sets | 3 - Create an app variable | 4 - Run the app | 5 - Try it out in Shinylive
Using bivariate plot1 years ago
teal application to use bivariate plot with various datasets types | 1 - Load libraries | 2 - Create data sets | 3 - Create an app variable | 4 - Run the app | 5 - Try it out in Shinylive
Using cross table1 years ago
teal application to use cross table with various datasets types | 1 - Load libraries | 2 - Create data sets | 3 - Create an app variable | 4 - Run the app | 5 - Try it out in Shinylive
Using data table1 years ago
teal application to display data table with various datasets types | 1 - Load libraries | 2 - Create data sets | 3 - Create an app variable | 4 - Run the app | 5 - Try it out in Shinylive
Using outliers module1 years ago
teal application to analyze and report outliers with various datasets types. | 1 - Load libraries | 2 - Create data sets | 3 - Create an app variable | 4 - Run the app | 5 - Try it out in Shinylive
Using regression plots1 years ago
teal application to use regression plot with various datasets types | 1 - Load libraries | 2 - Create data sets | 3 - Create an app variable | 4 - Run the app | 5 - Try it out in Shinylive
Using response plot1 years ago
teal application to use response plot with various datasets types | 1 - Load libraries | 2 - Create data sets | 3 - Create an app variable | 4 - Run the app | 5 - Try it out in Shinylive
Using scatterplot1 years ago
teal application to use scatter plot with various datasets types | 1 - Load libraries | 2 - Create data sets | 3 - Create an app variable | 4 - Run the app | 5 - Try it out in Shinylive
Getting Started with {teal.modules.clinical}1 years ago
Introduction | Main Features | A Simple Application | Try it out in Shinylive
Custom ggplot2 arguments module1 years ago
Additional topics | Loading libraries and data
Custom basic_table arguments module1 years ago
Example - Single-Table Module
Creating ADIS1 years ago
Introduction | Programming Workflow | Read in Data | Combine IS with SUPPIS | Derive Timing Variables | Derive ADT and ADY Variables | Parameters Derivation | Derive PARCAT1 and CUTOFFx Variables | Derive AVAL, AVALU and DTYPE Variables | Derive BASE Variables | Derive CHG and R2BASE Variables | Derive CRITx Variables | Derive TRTP/A Variables | Derive PPS Record Level Flag Variable | Add ADSL Variables | Example Script
Creating ADRS with IMWG Criteria1 years ago
Introduction | Programming Workflow | Read in Data | Pre-processing of Input Records | Select Overall Response Records and Set Parameter Details | Partial Date Imputation and Deriving ADT, ADTF, AVISIT etc | Derive AVALC and AVAL | Derive Confirmed Response Parameter | Handling Non-Evaluable Responses | Additional Variables | Definition of derive_confirmed_response Function | Check Number of NE Values Between Responses | Analysis Flag Derivation | Flag One Assessment at Each Analysis Visit (ANL01FL) | Exclude Assessments After New Anti-Cancer Therapy (ANL02FL) | Flag Assessments up to First PD (ANL03FL) | Select Source Assessments for Parameter derivations | Derive Progressive Disease Parameter | Define Events | Derive Response Parameter | Derive Clinical Benefit Parameter | Derive Best Confirmed Overall Response Parameter | Other Endpoints
How to use autoslider.core1 years ago
Requirements | Workflow | The specifications specs.yml | The filters filters.yml | The functions | The backend machinery | Writing custom functions | create example function | Integrate it into the general workflow
Missing Values in Tern1 years ago
Variable Class Conversion | Including Missing Values in rtables | Missing Values in Numeric Variables
Understanding tern functions1 years ago
For Developers
Developer Guide1 years ago
Coefficients Covariance Matrix Adjustment1 years ago
Introduction | Asymptotic Covariance | Empirical Covariance | Jackknife Covariance | Bias-Reduced Covariance | Kenward-Roger Covariance
Introduction to teal.data1 years ago
Introduction | Quick Start | Reproducibility | Relational data models | Hidden objects
Reproducibility1 years ago
Guidelines for Open-sourcing1 years ago
Generating QC-Ready Result Data Frames (ARDs) from Tables2 years ago
Disclaimer | Creating an Example Table | Converting the Table to a Result Data Frame (ARD) | Customizing the Output | More Complex Outputs
Referential Footnotes2 years ago
Introduction | Referential Footnotes Workaround | Summary
Getting started with teal.goshawk2 years ago
Introduction | Main features | A simple application
Join Keys2 years ago
Overview | Uses of join_keys class in teal applications | Anatomy of join_keys | join_keys(...): Join Keys Constructor / Getter / Setter | join_key(dataset_1, dataset_2, key, parent): Single Join Key Constructor | Example & Output | Accessing and Modifying keys | Merging Join Keys | Join Keys Relationships | Primary Key with teal_data | Foreign Keys with teal_data | Implicit Relationships | Join Keys in ADaM Datasets
teal_data reproducibility2 years ago
Reproducibility of teal_data objects | Verification | Verification status | Verification process | verified | unverified | Retrieving code | Tracking object dependencies
Applying a Variable Date Cut2 years ago
Introduction | Programming Flow | Read in Data | Create DCUT Dataset | Postprocess DCUT
Example Modular Approach2 years ago
Introduction | Example
Example Wrapped Approach2 years ago
Introduction | Example
Get Started2 years ago
Main Concept of Data cut process | Data cut approaches for different SDTM | Technical approach within | Data Handling Rules | Validation | Starting a Script
Modular Approach2 years ago
Introduction | Programming Flow | Read in Data | Create DCUT Dataset | Preprocess Datasets | Specify Cut Types | Patient Cut | Date Cut | DM Cut | Apply Cut | Output Final List of Cut Datasets
Wrapped Approach2 years ago
Introduction | Programming Flow | Read in Data | Create DCUT Dataset | Preprocess Datasets | Process data cut
Introduction to tern2 years ago
Common Clinical Trials Analyses | Analytical Functions for rtables | Clinical Trial Visualizations | Interactive Apps | Summary
Trial Definition2 years ago
Defining the design | The dose grid | The dose toxicity model | The escalation rules | The maximum increment | The NextBest rule for recommending the best dose for the next cohort | The cohort size | The stopping rules | The overall trial design | References
Comparison with dplyr Tabulation2 years ago
Introduction | Getting Started | Content Information | Summary
Exploratory Analysis2 years ago
Introduction | Getting Started | Nested Tables | NA Values | Custom Aggregation | Marginal Summaries | Table Decorations | Summary
Ordinal CRM2 years ago
Introduction | Implementation | Ordinal data | The LogisticLogNormalOrdinal class | Model fitting | Rules classes for ordinal models | On the need for a diagonal covariance matrix | Some observations | Environment | References
Controlling Splitting Behavior2 years ago
Controlling Facet Levels | Provided Functions | Controlling Combinations of Levels Across Multiple Variables | trim_levels_in_group | trim_levels_to_map | Combining Levels | add_overall_level | add_combo_levels | Fully Customizing Split (Facet) Behavior | An Example Custom Split Function | An Illustrative Example of A Custom Split Function | Overriding the Core Split Function | Design of Pre- and Post-Processing Functions For Use in make_split_fun
Customizing Appearance2 years ago
Rows and cell values alignments | Top-left Materials | Table Inset | Horizontal Separation | Section Dividers | Indent Modifier | Variable Label Visibility | Cell, Label, and Annotation Wrapping | Cell & Label Wrapping | Title & Footer Wrapping
Example Clinical Trials Tables2 years ago
Introduction | Demographic Table | Variations on the Demographic Table | Using Layouts | Adverse Events | Adverse Events By ID | Adverse Events By ID and By Grade | Response Table | Time to Event Analysis Table
Example Complex Analysis Function: Modelling Cox Regression2 years ago
Introduction | Data Pre-Processing | Creating Helper Functions: Cox Regression Model Calculations | tidy Method for summary.coxph Objects: tidy.summary.coxph | Function to Estimate Interaction Effects: h_coxreg_inter_effect | Function to Extract Effect Information: h_coxreg_extract_interaction | Creating a Helper Function: cached_model | Creating the Analysis Function: a_cox_summary | Selecting Parameters | Constructing the Table
Introduction to {rtables}2 years ago
Introduction | Overview | Data | Building a Table | Quick Start | Layout Instructions | Adding Column Structure | Adding Row Structure | Adding Group Information | Comparing with Other Tabulation Frameworks | Summary
Introspecting Tables2 years ago
Introduction | Getting Started | Detailed Table Structure | Insights on Value Format Structure | Applications | Summary
Tabulation Concepts2 years ago
Introduction | Building A Table Row By Row | Tabulation With Row Structure | Calculating the Mean | Group Summaries | Pattern III
Titles, Footers, and Referential Footnotes2 years ago
Titles and Non-Referential Footer Materials | Page-by splitting | Referential Footnotes | Adding Cell- and Analysis-row Referential Footnotes At Tabulation Time | Annotating an Existing Table with Referential Footnotes
Column Formatting2 years ago
Introduction | Default Formatting in as_listing | Column-Wise Formatting in as_listing | Adding Formatted Columns to a Listing via add_listing_col | Summary
Introduction to tern.mmrm2 years ago
Introduction | Descriptive Statistics | Methodology | Statistical model | Estimation | Inference | Covariance structure | Model fitting | Setup | Model fitting via tern.mmrm | Model fitting manually in R | Model fitting via SAS | Diagnostics | Residual analysis | Outlook
Creating ADCE2 years ago
Introduction | Programming Flow | Read in Data | Pre-processing of Input Dataset | Create Reference Dataset for Periods | Derivation of Analysis Dates | Join with the Periods Reference Dataset and Derive Relative Day in Period | Creation of Analysis Version for GRADING Variable (Either TOXGR or SEV) | Creation of Analysis Sequence Number | Final Step : Get All the Remaining Variables from ADSL | Example Script
Combining srcref Data2 years ago
Setup | Relational srcref data | Linking covr traces to package object srcrefs | Linking unit tests to evaluated covr traces | Relational documentation data | Summary
Plotting Test Paths2 years ago
Setup | Preparing Graph Data | Create Edges of Our Test Path | Plotting Our Test Paths
Working with srcrefs2 years ago
What are srcref objects? | Extracting relevant traceability srcrefs | Setup | Functions for extracting srcrefs | Extracting package namespace object srcrefs | Extracting test srcrefs | Extracting trace srcrefs | Summary
Introduction to hermes2 years ago
Acknowledgments | Installation | BioConductor | GitHub | Introduction | Importing Data | Importing a SummarizedExperiment | Importing an ExpressionSet | Importing a Matrix | Annotations | Connection to Database | Querying and Saving Annotations | Quality Control Flags | Automatic Gene and Sample Flagging | Manual Sample Flagging | Accessing Flags | Filtering Data | Based on Default QC Flags | Based on Custom Variables | Normalizing Counts | Descriptive Plots | Simple Plots | Top Genes | Heatmap of Genes among Samples | Correlation between Samples | Principal Components | PCA of Samples | Correlation with Sample Variables | QC Report Template | Differential Expression | Summary | Session Info
Get Started with {riskassessment}2 years ago
Introduction | Run / Deploy app.R | First time log in | Subsequent logins | Welcome to the app! | Self-guided tours | Upload a package | Decision Automation | Sidebar | 'Package Metrics' Review Tabs | Maintenance Metrics | Community Usage Metrics | The 'Source Explorer' Tab | The 'Build Report' Tab | Make a decision | Other Tabs | Database | Assessment Criteria | Administrative Tools | Where to go from here?
Deployment2 years ago
Installing vs Forking | The db-config.yml file | Configuring the assessment database | Database log file config | Credentials configuration | Decisions configuration | Categories | Rules | Colors | Metric weights configuration | Deployment options | shinyapps.io | Posit Connect & Shiny Server | ShinyProxy
Creating ADRS with iRECIST endpoints2 years ago
Introduction | Programming Workflow | Read in Data | Pre-processing of Input Records | Select Overall Response Records and Set Parameter Details | Partial Date Imputation and Deriving ADT, ADTF, AVISIT etc | Derive AVALC and AVAL | Flag Worst Assessment at Each Date (ANL01FL) | Flag Assessments up to First iCPD (ANL02FL) | Select Source Assessments for Parameter derivations | Define Events | Handling Different Input Response Values | Derive Confirmed and Unconfirmed Progressive Disease Parameter | Derive Response Parameter | Derive Clinical Benefit Parameter | Derive Best Overall Response Parameter | Derive Response Parameters requiring Confirmation | Other Endpoints
Creating and Using New Anti-Cancer Start Date2 years ago
Introduction | Programming Workflow | Read in Data | Single Source | Multiple Sources - Prerequisite Steps | Prerequisite | Multiple Sources - Derive New Anti-Cancer Start Date and Merge with ADSL | Using the New Anti-Cancer Therapy Date | Derive Date Parameter
Programming Concepts and Conventions2 years ago
Introduction | Input and Output | {admiral} Functions and Options | Handling of Missing Values | Expressions in Scripts | Quoting and Unquoting: Introducing expr(), exprs(), !! and !!! | expr() and exprs() | Bang-Bang (!!) and Bang-Bang-Bang (!!!) | Summary | Common pitfalls | 1. Mistakenly passing something that isn't an expression to an argument | 2. Forgetting that expressions must be evaluable in the dataset | See also
Introduction to goshawk2 years ago
Introduction | Common Clinical Trials Analyses | Interactive Apps | Data Requirements | Summary
Pagination2 years ago
Introduction | Basics of Pagination | Alternative Methods to Specify Page Size | 1. pg_width and pg_height | 2. lpp and cpp | 3. colwidths | Pagination with Exporters | export_as_txt | export_as_rtf | Pagination by Parameter | Combining Pagination by Parameter with Regular Pagination | Combining Pagination by Parameter with export_as_txt | Summary
Getting Started2 years ago
Introduction | Building a Listing | Key Columns | Titles and Footers | Summary
Getting Started2 years ago
Introduction | Ad-hoc module example | UI function | Server function | App function | Testing it
Standards in Different Regulatory Agencies2 years ago
Motivation | File name - character | XPT <img src="../man/figures/xpt.png" style="height: 34px;"/> | FDA <img src="../man/figures/fda.jpg" style="height: 20px;"/> | NMPA <img src="../man/figures/nmpa.png" style="height: 27px;"/> | PMDA <img src="../man/figures/pmda.png" style="height: 20px;"/> | File name - length | Variable name | Variable length | Label character | Label length | Values character | Values length | Format | Type | File size
Reformatting2 years ago
Introduction | The Formatting Map Structure | Calling reformat | Example | Rule Attributes
Count Layers2 years ago
A Simple Example | Distinct Versus Event Counts | Nested Count Summaries
Creating Custom Tplyr Metadata2 years ago
Build a tplyr_meta object | Building your own metadata table | Anti-joins | Appending Existing Tplyr Metadata | Metadata Without Tplyr | Tying it Together
Advanced Descriptive Statistic Layer Formatting2 years ago
Empty Value Formatting | Auto Precision | External Precision | Parenthesis Hugging
General String Formatting2 years ago
Format Strings | General Formatting | Controlling Formatting | Lowercase 'x' | Uppercase 'X' | Auto-precision
Tplyr Metadata2 years ago
Generating the Metadata | Extracting The Input Source | Extracting a Result Cell's Metadata | Anti Joins
Post-Processing2 years ago
String wrapping | Row Masking | Collapsing Row Labels | Leading Spaces in HTML Files | Conditional Formatting | Extracting a Format Group | Highly Customized Sort Variables | External Data Formatting
Tplyr Table Properties2 years ago
Table Parameters | Additional Treatment Groups | Population Data | Data Completion | Where to Go From Here
Getting Started2 years ago
How Tplyr Works | The tplyr_table() Object | The tplyr_layer() Object | Adding Layers to a Table | A Note Before We Go Deeper | Constructing Layers | String Formatting in Tplyr | Layer Types | Descriptive Statistic Layers | Count Layers | Shift Layers | Where to go from here? | References
teal.slice Classes2 years ago
Introduction | Initialization | Class Description | FilteredData | FilteredDataset | FilterStates | FilterState | FilterStateExpr | teal_slice | Making a reproducible filter call | Overview | Example | Filter panel modules
rbmi: Inference with Conditional Mean Imputation2 years ago
Introduction to the formatters package2 years ago
formatters | Formatting values | Format labels | Table Rendering Framework
Using tidy2 years ago
Introducing tidy methods to crmPack | Basic approach | Exceptions | Examples | Using tidy crmPack data | Cohort size | Environment
Power and Type I Error Calculations2 years ago
Introduction | Scenario - PFS and OS as Co-primary Endpoints | Type I Error - Simulation Under $H_0$ | Sample size and power calculation - simulation under $H_1$ | References
Model Fitting Algorithm2 years ago
Model definition | Linear model | Covariance matrix model | Unstructured covariance matrix | Grouped covariance matrix | Spatial covariance matrix | Maximum Likelihood Estimation | Weighted least squares estimator | Determinant and quadratic form | Restricted Maximum Likelihood Estimation | Completing the square | Objective function
Package Introduction2 years ago
Common usage | Common customizations | Extraction of model features | Lower level functions | Hypothesis testing | Tidymodels | Acknowledgments | References
Frequently Asked Questions (FAQs)3 years ago
Using the package | Data checks | Relationship to other tools and data standards | Package maintenance and release schedule | Contributing
Introduction to tern.gee3 years ago
Introduction | Example | Setup | Model Fitting | Tabulation
Correlation between PFS and OS3 years ago
Introduction | Cor(PFS, OS): Statistical Background | Example: Computing Cor(PFS, OS) directly | Estimating Cor(PFS, OS) from data | Example: Estimating Cor(PFS, OS) from data | References
Getting Started3 years ago
Introduction | Simulation Specifications | Application | Output Data | References
Piecewise Constant Hazards Calculations3 years ago
Introduction | Overall survival calculation | Implementation
{rtables} Advanced Usage3 years ago
NOTE | Control splitting with provided function (limited customization) | Custom Split Functions | Adding an Overall Column Only When The Split Would Already Define 2+ Facets | Leveraging .spl_context | What Is .spl_context? | Different Formats For Different Values Within A Row-Split | Simulating 'Baseline Comparison' In Row Space
Queries Dataset Documentation3 years ago
Introduction | Structure of the Query Dataset | Variables | Required Content | Input | Output | Example | Query Dataset (ds_query) | Adverse Event Dataset (ae) | Output Dataset | Optional Content | Output Variables
Between-Within3 years ago
General definition | MMRM special case | Example | Differences compared to SAS | References
Mixed Models for Repeated Measures3 years ago
Abstract | The basic linear mixed-effects model | Extending the basic linear mixed-effects model | The MMRM as a special case | Missing data | References
Satterthwaite3 years ago
Satterthwaite degrees of freedom for asymptotic covariance | One-dimensional contrast | Jacobian approach | Jacobian calculation | Multi-dimensional contrast | Satterthwaite degrees of freedom for empirical covariance | References
Comparing Against Baselines or Control3 years ago
Introduction | Row Splitting
Generating a Log3 years ago
Methods of Execution | axecute() | log_*() functions | Command Line Execution | Scripting with logrx
Writing a New Check3 years ago
Background | Working Collaboratively | GitHub | Package Dependencies | Existing Checks | Good Practices | Example Check | Additional Considerations
Introduction to sdtmchecks3 years ago
Setting Up | Documentation | Metadata | Running a Check | Running Many Checks | Writing Out Results | Making a Customizable Script
User Roles and Privileges3 years ago
Privileges | Administrator | Weight Adjustment | Download Database | Updating Weights | Automated Decision Adjustment | Select Category Colors | Automate Decision by Risk Score | Final Decision | Revert Decision | Add Packages | Delete Packages | Overall Commentator | General Commentator | Roles
Format Precedence and NA Handling3 years ago
Formats Precedence | Format Precedence and Inheritance Rules | Standard Format | Cell Format | Parent Table Format and Inheritance | NA Handling | Replacing NA Values at the Cell Level | Parent Table Replacement of NA Values and Inheritance Principles
Parallel computing with extensions3 years ago
Introduction | High level usage | Important information for usage | Information for debugging | Worked out example | Alternative: read user code from external file | Note | References
Trial Simulation3 years ago
Example
Data Expectations3 years ago
Introduction | ADSL | ADLB | Other Basic Data Structures | Required Variables | TRTORD | AVISITCD | AVISITCDN | AVALU | LBSTRESC | LOQFL | BASE2 | CHG2 | PCHG2 | Additional Variables | AVALL2, BASEL2, BASE2L2
User Guide3 years ago
PARAMCD | Pull down menus | AVISIT | The Data Constraint Filter | Data Point Brushing | Log2 - Points to Consider | Right Hand Data Filter Panel | Visualization Specifics
Administrative Tools and Options V0.1.13 years ago
Introduction | Credential Manager | Managing Users | Add a User | User start and expire dates | Edit a user | More Edit options | Delete a user | Replace initial Admin user | Managing Passwords | Additional columns in Passwords table | Assessment Reweighting | Download Database | Updating Weights | Decision Automation
Credential Manager3 years ago
The admin Privilege | The Credential Manager | Managing Users | Add a User | User start and expire dates | Edit a user | More Edit options | Delete a user | Replace initial admin user | Managing Passwords | Additional columns in Passwords table
Deployment V0.1.13 years ago
The database.sqlite file | The loggit.json file | The auto_decisions.json file | Deployment options | shinyapps.io | Posit Connect & Shiny Server | ShinyProxy
Search Data Check Functions3 years ago
Excel example 1 - extrapolation calculations3 years ago
Introduction | Set up packages and data | Install packages | Generate the data | Fitting the models | Bootstrap the estimated parameters | Exporting to Excel | The Excel model | Exported data tab | Extrapolations tab
Excel example 2 - STEM compatibility3 years ago
Introduction | Set up packages and data | Install packages | Generate the data | Fitting the models | Bootstrap the estimated parameters | Converting to STEM format | Exporting to Excel | The Excel model | Exported data tab | Stat. Parameters tab | Extrapolations tab
Excel example 3 - correlated endpoints in PSA3 years ago
Introduction | Set up packages and data | Install packages | Generate the data | Fitting the models | Bootstrap the estimated parameters | Exporting to Excel | The Excel model | Results ignoring correlation | Results accounting for correlation
Contribution to {datacutr}3 years ago
Introduction | Basics | Contribution Model
Constructing rtables Manually3 years ago
Overview | Simple Example
Developer onboarding - using renv3 years ago
Overview | Actions performed only once in the repo | If new packages installations are needed | How to ignore files & pkgs in the lock file | Cache Location on different Operating Systems | References
Using SQLite Command Line3 years ago
About SQLite | Why SQLite? | Download SQLite tools | Run SQLite tools | Open the command line window. | Navigate to the C:\sqlite folder. | Command Line Shell | SQLiteStudio
Formatting Functions3 years ago
tern Formatting Functions Overview | Comparing tern & formatters Formats | Formatting Function Basics | Number of Decimal Places to Display | Value Thresholds | Creating Custom Formatting Functions | Summary
Themes4 years ago
Plot Themes | Risk Table Themes
Getting Started with nestcolor4 years ago
Introduction | Main Features | A Simple Example
Analysing data with psborrow4 years ago
User Guide: Dynamic Borrowing with psborrow4 years ago
STEM compatibility4 years ago
Introduction | Read in the data | Fitting models | Converting to a STEM format | The output of convSTEM | stem_param | stem_cov | stem_modsum | stem_boot | Details on conversions | Conversion of parameters | Conversion of Exponential models | Seperate models | Common shape models | Excel formula | Conversion of Weibull models | Conversion of Gompertz models | Conversion of Log-logistic models | Conversion of Log-normal models | Conversion of Generalized Gamma models | Conversion of Gamma models | Conversion of AIC and BIC
Fitting parametric survival models in R4 years ago
Introduction | Set up packages and data | Install packages | Read in the data | Exploratory analysis | Fitting the models | Estimate survival from the models and plot the curves | Adressing uncertainty - Bootstrapping | Estimating quantities from the sample | Outputing parameters to excel | References
PSA and correlated endpoints (bootstrap approach)4 years ago
Introduction | Set up packages and data | Install packages | Read in the data | Bootstrapping the endpoints | Fitting the models to the original data | Ignoring correlation between endpoints | Considering correlation between endpoints | Plotting impact of accounting for correlations between endpoints
Parametric survival analysis using the flexsurvPlus package: understanding the theory4 years ago
Introduction | Properties of the distributions | Special cases | Initial diagnostics | Exponential | Separate models | Common shape models | Weibull | Independent shape models | Gompertz | Log-logistic | Log-normal | Gamma | Generalized gamma | Generalized F | References
rbmi: Advanced Functionality4 years ago
rbmi: Quickstart4 years ago
rbmi: Statistical Specifications4 years ago
An Introduction to the r2rtf Package5 years ago
Validating External Resources with {valtools}5 years ago
Creating A New Validation Packet | Tutorial | Add Requirements | Change Log | Testing | Test Cases | Test Code | Authoring Validation Reports | Running a Validation Report | Validation Mode: Running on Source
Introduction to Respectables5 years ago
Introduction | Simple Dataset | Adding Multiple Variables | Variable Dependencies | Configurable Arguments | Injecting Missing Data | Scaffolding | Compare dplyr
Specifying, Simulating and Synthesizing Relational Data in R5 years ago
Introduction and Motivations | Recipes | Table Recipes | Scaffold Tables and Scaffolding Join Recipes | Constructing Missingness Recipes | Constructing Data with Recipes | Individual Table
Starting New Validation Package using {valtools}5 years ago
Creating A New R Package | Tutorial | Add Requirements | Package Development | Change Log | Testing | Test Cases | Test Code | Authoring Validation Reports | Running a Validation Report | Validation Mode: Running on Source | Validation Mode: Generating validated bundle for distribution | Validation Mode: Validating and installing package | Validation Mode: Re-validating an installed package
Sourcing Titles and Footnotes From External Files5 years ago
Working pharmaRTF Into Your Process | A Small Note | How It Works | Custom Reader Functions | Putting It Together | Further Reading
Advanced Usage of pharmaRTF5 years ago
Introduction | A Small Note | Understanding Document Orientation Within pharmaRTF | Multi-level Column Headers | Minimizing Cell Padding | Setting Spacing Between Column Headers and Titles | Split Titles | Special Title/Footnote Formats | PAGE_FORMAT: | DATE_FORMAT: | FILE_PATH: | Further Reading
Huxtable Tips6 years ago
Notes | Introduction | A Small Note | Huxtable Basics | Changing Table Shape | Column Headers | Cell Formatting | Cell Merging | Some Final Notes | Further Reading
pharmaRTF6 years ago
Version 0.1.1 updates | What is pharmaRTF? | A Small Note | The Basics | Further Reading