c212.sim.control.params {c212}R Documentation

Generate a template for the individual model parameter simulation control parameters.

Description

This function generates a template for overriding the global simulation parameters used by the model simulation functions (e.g. c212.BB).

Usage

	c212.sim.control.params(trial.data, model = "1a")

Arguments

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.

Value

A dataframe containing the simulation parameters template.

Author(s)

R. Carragher

Examples

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)

[Package c212 version 0.98 Index]