View source: R/single_stage_sim.R
single_stage_sim | R Documentation |
Simulate a single-stage trial, analyzed with a modestly-weighted log-rank test
single_stage_sim(n_sims = 1, design, model = NULL,
recruitment = NULL)
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. |
A data-frame containing: critical value, z-statistic, timing of analysis.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.