R/RcppExports.R
simulate_r_measure.Rd
Simulate a data matrix from the measurement process of a stochastic epidemic model.
simulate_r_measure(
censusmat,
measproc_indmat,
parameters,
constants,
tcovar,
r_measure_ptr
)
matrix of compartment counts at observation times
logical matrix for which measure variables are observed at which times
numeric vector of model parameters
numeric vector of constants
numeric matrix of time-varying covariate values at observation times.
external pointer to measurement process simulation fcn
matrix with a simulated dataset from a stochastic epidemic model.