gs_create_arm {gsDesign2} | R Documentation |
Create npsurvSS arm object
Description
Create npsurvSS arm object
Usage
gs_create_arm(enroll_rate, fail_rate, ratio, total_time = 1e+06)
Arguments
enroll_rate |
Enrollment rates. |
fail_rate |
Failure and dropout rates. |
ratio |
Experimental:Control randomization ratio. |
total_time |
Total analysis time. |
Value
A list of the two arms.
Specification
The contents of this section are shown in PDF user manual only.
Examples
enroll_rate <- define_enroll_rate(
duration = c(2, 2, 10),
rate = c(3, 6, 9)
)
fail_rate <- define_fail_rate(
duration = c(3, 100),
fail_rate = log(2) / c(9, 18),
hr = c(.9, .6),
dropout_rate = .001
)
gs_create_arm(enroll_rate, fail_rate, ratio = 1)
[Package gsDesign2 version 1.1.2 Index]