simulateModelReplicates | R Documentation |
Simulate several replicate of a fitmodel using its function simulate
simulateModelReplicates(
fitmodel,
theta,
initState,
times,
n,
observation = FALSE
)
fitmodel |
a |
theta |
named numeric vector. Values of the parameters. Names should
match |
initState |
named numeric vector. Initial values of the state
variables. Names should match |
times |
vector of times at which you want to observe the states of the model. |
n |
number of replicated simulations. |
observation |
logical, if |
a data.frame of dimension
[nxlength(times)]x[length(initState)+2]
with column names equal to
c("replicate","time",names(initState))
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.