Create a dynrModel object for parameter estimation (cooking dynr) using dynr.cook

Description

Create a dynrModel object for parameter estimation (cooking dynr) using dynr.cook

Usage

1
dynr.model(dynamics, measurement, noise, initial, data, ..., outfile)

Arguments

dynamics

a dynrDynamics object prepared with prep.formulaDynamics or prep.matrixDynamics

measurement

a dynrMeasurement object prepared with prep.loadings or prep.measurement

noise

a dynrNoise object prepared with prep.noise

initial

a dynrInitial object prepared with prep.initial

data

a dynrData object made with dynr.data

...

additional arguments specifying other dynrRecipe objects. Argument regimes is for a dynrRegimes object prepared with prep.regimes and argument transform is for a dynrTrans object prepared with prep.tfun.

outfile

a character string of the name of the output C script of model functions to be compiled for parameter estimation.

Examples

1
2
3
4
#rsmod <- dynr.model(dynamics=recDyn, measurement=recMeas, noise=recNoise,
#    initial=recIni, regimes=recReg, data=dd, outfile="RSLinearDiscrete.c")
#For a full demo example, see:
#demo(RSLinearDiscrete , package="dynr")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.