selEstan: Select a pre-compiled 'rstan' Emax model

Description Usage Arguments Value Author(s) See Also Examples

View source: R/selEstan.R

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

1
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

See Also

fitEmaxB, emaxsimB

Examples

1
2
3
4
## Not run: 
	estan<-selEstan()

## End(Not run)

clinDR documentation built on April 12, 2021, 9:06 a.m.