rTrajObs.Rd
This function simulates a model defined in a fitmodel
object and generates observations at each time point. It returns
the trajectory with an additions obs
column.
rTrajObs(fitmodel, theta, initState, times)
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
.
the times at which to generate observations
data.frame