Description Usage Arguments Value Examples
View source: R/set_studyPlan.R
Title
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | set_studyPlan(
recruitment,
rec_time,
study_end,
lambdaC,
theta,
gamma,
dist_surv,
dist_censor,
alpha = 0.05,
beta = 0.2,
alternative = "two-sided",
...
)
|
lambdaC |
a number defining the hazard rate of the control group. |
theta |
a number defining the hazard ratio. Alternatively |
gamma |
a number defining the hazard of the censor process. |
dist_surv |
a numeric defining the distribution of the survival process. |
alternative |
|
lambdaT |
a number defining the hazard rate of the treatment group. Alternatively |
a list of class studyPlan
1 2 3 4 5 6 7 8 | set_studyPlan(recruitment=set_recruitment(c(2400,1200),1:20),
rec_time = 10,
study_end = 22,
lambdaC = get_hazardRate(.3,24),
theta = .7,
gamma = get_hazardRate(.2,24),
dist_surv = "exponential",
dist_censor = "exponential",beta=.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.