View source: R/three_stage_sim.R
three_stage_sim | R Documentation |
Simulate a three-stage trial, analyzed with a modestly-weighted log-rank test
three_stage_sim(n_sims = 1, design, model = NULL, recruitment = NULL,
info_frac_v = TRUE)
n_sims |
The number of simulations. |
design |
The design object, created using |
model |
Model assumptions. Default is NULL, in which case model assumptions in the design object are used. |
recruitment |
Recruitment assumptions. Default is NULL, in which case recruitment assumptions in the design object are used. |
info_frac_v |
Is the information fraction based on the variance of the U statistics. Default is TRUE. If FALSE then the information fraction is based on the number of events. |
A data-frame containing: critical values, z-statistics, timing of analyses.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.