ExpandRandomAsLVModel | R Documentation |
Extend a user-specified model to include random varibles
ExpandRandomAsLVModel(dynrModel)
dynrModel |
a dynrModel object prepared with recipe functions |
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.
an object of dynrModel that is the expanede model.
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.