simulate_longitudinal_trial | R Documentation |
Simulate a longitudinal trial
simulate_longitudinal_trial( n_seq = c(100, 150, 200, 250, 400), dat = simulate_general_outcome_data(nsims = 1, nsubj = max(n_seq)), eff_eps = 0.95, sup_eps = 0.95, alloc = rep(1/4, 4), brar = TRUE, make_dt = TRUE, zero_sum = FALSE, scale = FALSE, ... )
n_seq |
The sequence of analyses by number of subjects with 12 week observation |
dat |
The dataset for this particular simulation |
eff_eps |
Effective decision threshold |
sup_eps |
Superiority decision threshold |
alloc |
Initial allocation ratio |
brar |
Update allocation ratio using BRAR |
A list (or data.table) giving the trial results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.