powered by
simulate accrual time where the accrual rate is linearly increased
linear_accrual(np,rampupt,acceleration)
Total number of patients
The length of the ramp up period.
The acceleration of the accrual rate (increase of each time unit).
# NOT RUN { linear_accrual(np=200,rampupt=10,acceleration=5) # }
Run the code above in your browser using DataLab