create.normal.model.from.file {bdpopt}R Documentation

Create Normal Emax Model From File

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

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örnsson jobjorns@chalmers.se

See Also

create.normal.model


[Package bdpopt version 1.0-1 Index]