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

View source: R/c212.params.R

c212.hyper.paramsR Documentation

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

Description

This function generates the default model hyper-parameters used by the model simulation functions (e.g. c212.BB).

Usage

	c212.hyper.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 list containing the model hyper-parameters.

Author(s)

R. Carragher

Examples

data(c212.trial.data)
h.p <- c212.hyper.params(c212.trial.data)
## Not run: 
data(c212.trial.data)
h.p <- c212.hyper.params(c212.trial.data)
print(h.p)

## End(Not run)

c212 documentation built on April 3, 2025, 10:29 p.m.

Related to c212.hyper.params in c212...