ExpandRandomAsLVModel {dynr} | R Documentation |
Extend a user-specified model to include random varibles
Description
Extend a user-specified model to include random varibles
Usage
ExpandRandomAsLVModel(dynrModel)
Arguments
dynrModel |
a dynrModel object prepared with recipe functions |
Details
A dynrModel
is a collection of recipes. The recipes are constructed with the functions unctions prep.formulaDynamics
, prep.measurement
, prep.noise
, prep.initial
. Additionally, data must be prepared with dynr.data
and added to the model.
Value
an object of dynrModel that is the expanede model.
Examples
# model <- dynr.model(dynamics=dynm, measurement=meas, noise=mdcov,
# initial=initial, data=data, outfile="osc.cpp")
# extended_model <- ExpandRandomAsLVModel(model)
# For full demo examples, see:
# demo(OscWithRand, package="dynr")
# demo(VDPwithRand, package="dynr")
[Package dynr version 0.1.16-105 Index]