create_obs_data: Create obs data
Description
Used by sim()
to arrange data from ode() function into the correct format.
Usage
create_obs_data(ode_data, obs_attr, id)
Arguments
- ode_data
data frame of output from ode() function
- obs_attr
"obs" attribute from ode() function
- id
ID of the individual