Augment (or remove) trajectories from a mcstate_trajectories
or
mcstate_pmcmc
object.
add_trajectory_incidence(obj, states, suffix = "_inc")
drop_trajectory_incidence(obj)
A mcstate_trajectories
or mcstate_pmcmc
object to
update
A vector of cumulative states to compute incidence for
A string to append to the input states to create the incidence variables