Skip to contents

Model and scenario

ms_model()
Multistate model for one treatment group
ms_fleischer()
Exponential model for PFS and OS of Fleischer et al. (2009)
ms_accrual()
Piecewise uniform accrual
ms_scenario()
Two-group trial scenario
ms_null()
Null scenario

Endpoint distributions

ms_surv()
Survival function, hazard and density of an endpoint
ms_prob()
State occupation probabilities

Events and the log-rank statistic

ms_events()
Expected numbers of patients, events and dropouts over calendar time
ms_event_time()
Calendar time at which a number of events is expected
lr_moments()
Mean and variance of the log-rank statistic over calendar time
lr_cov()
Joint distribution of the log-rank statistic at several calendar times

Group sequential bounds and probabilities

gs_spend()
Error spending functions
gs_bounds()
Bounds of a group sequential design
gs_prob()
Stopping probabilities of a group sequential design
gs_prob_mtp()
Rejection probabilities of a group sequential design with two endpoints

Design

ms_looks()
Timing of the analyses
ms_test()
Test and stopping rules
ms_power()
Power of a group sequential log-rank design
ms_size()
Number of events, sample size, accrual duration or follow-up for a target power
ms_cond_power()
Conditional power at an interim look

Methods

print(<ms_model>)
Print an ms_model object
print(<ms_accrual>)
Print an ms_accrual object
print(<ms_scenario>)
Print an ms_scenario object
print(<ms_looks>)
Print an ms_looks object
print(<ms_test>)
Print an ms_test object
print(<ms_power>)
Print an ms_power object
plot(<ms_power>)
Plot an ms_power object
summary(<ms_power>)
Summarize an ms_power object
print(<summary.ms_power>)
Print a summary.ms_power object
as.data.frame(<ms_power>)
Per-look results of an ms_power object as a data frame
print(<ms_size>)
Print an ms_size object
print(<ms_cond_power>)
Print an ms_cond_power object