Description Usage Arguments Value Note Author(s)
Runs a z0-dimensional rodeo model for specific parameter and initial values and returns a list that makes it easy to compare simulated and observed data (e.g. for plotting or calculating the goodness-of-fit).
1 | rodeoCompare(inputs, model, obs, extract, t0 = NULL)
|
inputs |
Named numeric vector. This holds the values of parameters and/or initial values. |
model |
Object of class |
obs |
Numeric matrix or data frame with numeric times in the first column and observed data in the remaining column(s). |
extract |
A function that extracts simulated data from the output matrix
of |
t0 |
Time corresponding to the supplied initial values in argument
|
A data frame with four columns:
time: Time
item: Name of the observed / simulated entity
obs: Observed value
sim: Simulated value
The number of rows of the output may be reduced in comparison to the
number of rows in obs
if t0
is greater than obs[1,1]
.
David Kneis david.kneis@tu-dresden.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.