View source: R/simulate_trial_model2.R
simulate_standard_trial | R Documentation |
Simulate trial without any knowledge of preference
simulate_standard_trial( dat = generate_preference_data(), n_seq = c(100, 150, 200, 250, nrow(dat$y)), alloc = rep(1/ncol(dat$y), ncol(dat$y)), sup_eps = 0.95, eff_eps = 0.95, brar = FALSE, ... )
dat |
Data generated from 'generate_preference_data' |
n_seq |
Sequence of interim analyses |
alloc |
Initial allocation probabilities |
brar |
Use BRAR? |
... |
Other arguments to 'vb_lm' functions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.