step_accrual {TwoArmSurvSim} | R Documentation |
Simulate Accrual Time
Description
Simulate accrual time
Usage
step_accrual(np,tt,arate)
Arguments
np |
Total number of patients |
tt |
Time windows |
arate |
accrual rate for each time windows |
Examples
timeinterval<-c(0,5,10)
accrualrate<-c(10,15,20)
N<-200
accrual<-step_accrual(N,timeinterval,accrualrate)
[Package TwoArmSurvSim version 0.2 Index]