c212.global.sim.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 the default global simulation parameters used by the model simulation functions (e.g. c212.BB).

Usage

1
	c212.global.sim.params(trial.data, model = "BB", hier = 3)

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.

hier

Generate parameters for a two level or three level hierarchy. Allowed values are 2 and 3 respectively.

Value

A dataframe containing the global simulation parameters.

Author(s)

R. Carragher

Examples

1
2
3
4
5
6
7
data(c212.trial.data)
global.sim.prams <- c212.global.sim.params(c212.trial.data)
## Not run: 
data(c212.trial.data)
global.sim.prams <- c212.global.sim.params(c212.trial.data)

## End(Not run)

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