create_normal_model_from_file: Create Normal Emax Model From File

Description Usage Arguments Details Value Author(s) See Also

Description

Create a simulation model object for optimisation of the dose and sample size for a (or several, parallel) phase III clinical trial given phase II data. There is one efficacy response and one safety response obtained as sample means for each group of patients given a specific dose. These are both normal given the true populations means. The population means for efficacy and safety are in turn modeled using two independent Emax models. This function uses the file ‘normal_model_jags_data.R’ to specify the parameters of the model instead of the user supplying these as arguments (as for create.normal.model).

Usage

1
create.normal.model.from.file(path.to.package = NA)

Arguments

path.to.package

The search path to the installation directory of bdpopt. For the default value, the function will attempt to find the path using search.

Details

See the argument description of create.normal.model for the objects that have to be specified in ‘normal_model_jags_data.R’.

Value

A simulation model object of class sim.model, created using the JAGS data file ‘normal_model_jags_data.R’ and the JAGS model file ‘normal_model_jags_model.R’.

Author(s)

Sebastian Jobj<f6>rnsson jobjorns@chalmers.se

See Also

create.normal.model


bdpopt documentation built on May 2, 2019, 9:18 a.m.