Learn R Programming

clinDR (version 2.4.1)

selEstan: 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'))

Value

An Emax 'stanmodel'.

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.

Author

Neal Thomas

See Also

fitEmaxB, emaxsimB

Examples

Run this code
if (FALSE) {
	estan<-selEstan()
}

Run the code above in your browser using DataLab