Learn R Programming

TwoArmSurvSim (version 0.2)

linear_accrual: 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

Run this code
# NOT RUN {
linear_accrual(np=200,rampupt=10,acceleration=5)

# }

Run the code above in your browser using DataLab