projection_simulation {TwoArmSurvSim} | R Documentation |
Project Final Event Numbers or Trial Stop Time Based on Interim Analysis Data
Description
Project final event numbers or trial stop time based on interim analysis data
Usage
projection_simulation(snapshot_data, rand_ratio=c(1,1), enroll_continue=FALSE,
samplesize=0, blocksize=1,accrual_interval=NULL, accrual_rate=NULL, lambda=NULL,
trtHR=NULL, dropoutrate=NULL,eventtarget=NULL,maxlpfollowup=NULL,N_simulation=1)
Arguments
snapshot_data |
Snapshot dataset or interim analysis dataset |
rand_ratio |
Randomization ratio between control and treatment |
blocksize |
The value of this parameter is used to define the size of the randomization blocks. The actual blocksize is number of treatment levels mutiplied by this parameter. Please refer to "blockrand" package for detailed usage. |
enroll_continue |
True if trial is still in the enrollment period |
samplesize |
if enroll_continue=TRUE, please provide the total sample size of the trial. |
trtHR |
Hazard ratio between treatment groups (treatment vs control) |
accrual_interval |
Time windows for accrual |
accrual_rate |
accrual rate for each accrual time window |
lambda |
lambda for event hazard function (exponential) |
dropoutrate |
Patient dropout rate with range [0,1). If dropoutrate contains only one number. The program will control the dropout rate at population level(treatment + control). If dropoutrate contains two numbers (ie. c(0.2,0.1)), the program will control the dropout rate of control and treatment arm seperately, with the first dropout rate number for control and the second number for treatment. Default value is "0" (no dropout) |
eventtarget |
Number of target events |
maxlpfollowup |
maximum follow up time for the last enrolled patient |
N_simulation |
number of simulations to run |