selEstan {clinDR} R Documentation

## Select a pre-compiled rstan Emax model

### Description

Emax models for use in fitEmaxB and emaxsimB which have been pre-compiled are loaded for use outside of the the fiting functions. This is most useful for repeated simulations in which the loading of the compiled models from a disk file can be performed once. fitEmaxB will load the model automatically for single execution, so the model does not need to be pre-loaded.

### Usage


selEstan(emod=c('basemodel.rds','mrmodel.rds'))


### Arguments

 emod Two parameterizations of the emax function are currently supported. 'basemodel' uses the maximal effect 'emax' parameter. 'mrmodel' uses the effect of the drug at a high dose specified by the user versus placebo. The 'emax' effect model is deprecated and will be eliminated.

### Value

An Emax 'stanmodel'.

### Author(s)

Neal Thomas

fitEmaxB, emaxsimB
## Not run: