linear_accrual {TwoArmSurvSim} | R Documentation |
Simulate Accrual Time Where the Accrual Rate is Linearly Increased
Description
simulate accrual time where the accrual rate is linearly increased
Usage
linear_accrual(np,rampupt,acceleration)
Arguments
np |
Total number of patients |
rampupt |
The length of the ramp up period. |
acceleration |
The acceleration of the accrual rate (increase of each time unit). |
Examples
linear_accrual(np=200,rampupt=10,acceleration=5)
[Package TwoArmSurvSim version 0.2 Index]