Description Usage Arguments Value Author(s) Examples
This function generates a template for overriding the global simulation parameters used by the model simulation functions (e.g. c212.BB).
1 | c212.sim.control.params(trial.data, model = "1a")
|
trial.data |
A file or data frame containing the trial data, either for end of trial or interim analysis. |
model |
Allowed values are "BB" and "1a" for point-mass and non-point-mass models respectively. |
A dataframe containing the simulation parameters template.
R. Carragher
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | data(c212.trial.data)
s.p <- c212.sim.control.params(c212.trial.data)
head(s.p)
## Not run:
data(c212.trial.data)
s.p <- c212.sim.control.params(c212.trial.data)
head(s.p)
type variable B AE param value control
1 SLICE gamma Bdy-sys_2 Adv-Ev_5 w 1 6
2 SLICE gamma Bdy-sys_5 Adv-Ev_24 w 1 6
3 SLICE gamma Bdy-sys_6 Adv-Ev_31 w 1 6
4 SLICE gamma Bdy-sys_8 Adv-Ev_42 w 1 6
5 SLICE gamma Bdy-sys_7 Adv-Ev_39 w 1 6
6 SLICE gamma Bdy-sys_6 Adv-Ev_34 w 1 6
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.