c212.sim.control.params: Generate a template for the individual model parameter...

Description Usage Arguments Value Author(s) Examples

View source: R/c212.params.R

Description

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

Usage

1
	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

 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)

c212 documentation built on Sept. 8, 2020, 5:07 p.m.