View source: R/three_stage_design.R
| three_stage_design | R Documentation | 
Three-stage design for a modestly-weighted log-rank test
three_stage_design(t_star = NULL, model, recruitment, dco_int_1,
  dco_int_2, dco_final, events_int_1 = NULL, events_int_2 = NULL,
  events_final = NULL, alpha_one_sided = 0.025,
  alpha_spend_f = ldobf, length_t = 18, rho = NULL, gamma = NULL)
t_star | 
 Parameter of the modestly-weighted log-rank test. Setting t_star=0 corresponds to a standard log-rank test.  | 
model | 
 The piecewise hazard model.
A list containing the   | 
recruitment | 
 List of recruitment information. Containing 
  | 
dco_int_1 | 
 The time of the first interim analysis in time-units since start of the trial.  | 
dco_int_2 | 
 The time of the second interim analysis in time-units since start of the trial.  | 
dco_final | 
 The time of the final analysis in time-units since start of the trial.  | 
events_int_1 | 
 May be specified instead of   | 
events_int_2 | 
 May be specified instead of   | 
events_final | 
 May be specified instead of   | 
alpha_one_sided | 
 One-sided alpha level.  | 
length_t | 
 Number of cutpoints to use when approximating the distribution of the MWLRT-statistic. Default is 18. Can be increased for greater accuracy.  | 
alpha_spending_f | 
 The alpha-spending function. Default is the Lan-DeMets O'Brien-Fleming function.  | 
{rho} | 
 rho parameter in a Fleming-Harrington test. Default is NULL. Only used if F-H test used instead of MWLRT.  | 
{gamma} | 
 gamma parameter in a Fleming-Harrington test. Default is NULL. Only used if F-H test used instead of MWLRT.  | 
A list describing the design.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.