Construct a stem object.
make_stem(
stem_object = NULL,
data = NULL,
dynamics = NULL,
measurement_process = NULL
)
an existing stochastic epidemic model object to which model settings should be added.
a matrix/data frame, or a list of matrices/data frames. All columns must be named according to which compartment_strata are measured. The first column must consist of observation times, t_1,...,t_L. If data on all measured compartments are accrued at the same observation times, a single matrix or data frame may be provided. If each compartment in the data was measured at different observation times, a list of matrices or data frames must be provided. Again, the first column of each matrix must consist of observation times, while subsequent columns must be labeled according to which compartments are reflected.
A list of objects describing the model dynamics, most
straighforwardly generated using the stem_dynamics
function.
list of functions to simulate from or evaluate the
likelihood of the measurement process. These are most easily generated
using the stem_measure
function.
returns a stem
object.