Displaying 1 result from an estimated 1 matches for "lvmodel".
2003 Oct 23
2
OOP like handling of lists?
...articular model into a single list object for each model.
Then there will be a collection of functions to run the model or to
modify parameters, time steps, integration method ..., which should
*work on the list itself* or make a copy of it.
An example:
the model object may have the name "lvmodel" (see below). so it can be
simulated and plotted simply using:
lvmodel <- simulate(lvmodel)
plot(lvmodel)
Parameters (and other stuff) may be modified with:
getParams(lvmodel)
lvmodel <- setParms(lvmodel, list(k1=0.5))
... and then simulated and plotted again.
The problem however i...