simulateModelReplicates.RdSimulate several replicate of a fitmodel using its function simulate
simulateModelReplicates(
fitmodel,
theta,
initState,
times,
n,
observation = FALSE
)a fitmodel object
named numeric vector. Values of the parameters. Names should
match fitmodel$thetaNames.
named numeric vector. Initial values of the state
variables. Names should match fitmodel$stateNames.
vector of times at which you want to observe the states of the model.
number of replicated simulations.
logical, if TRUE simulated observation are
generated by rTrajObs.
a data.frame of dimension
[nxlength(times)]x[length(initState)+2] with column names equal to
c("replicate","time",names(initState)).