Create obs data
Used by sim()
to arrange data from ode() function into the correct format.
create_obs_data(ode_data, obs_attr, id)
ode_data
: data frame of output from ode() functionobs_attr
: "obs" attribute from ode() functionid
: ID of the individualsim()