gs_create_arm | R Documentation |
Create npsurvSS arm object
gs_create_arm(enroll_rate, fail_rate, ratio, total_time = 1e+06)
enroll_rate |
Enrollment rates from |
fail_rate |
Failure and dropout rates from |
ratio |
Experimental:Control randomization ratio. |
total_time |
Total analysis time. |
A list of the two arms.
The contents of this section are shown in PDF user manual only.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.