linear_accrual: Simulate Accrual Time Where the Accrual Rate is Linearly...

Description Usage Arguments Examples

View source: R/utility_functions.R

Description

simulate accrual time where the accrual rate is linearly increased

Usage

1
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

1
linear_accrual(np=200,rampupt=10,acceleration=5)

TwoArmSurvSim documentation built on Feb. 26, 2021, 9:06 a.m.