simulate_r_measure | R Documentation |
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 )
censusmat |
matrix of compartment counts at observation times |
measproc_indmat |
logical matrix for which measure variables are observed at which times |
parameters |
numeric vector of model parameters |
constants |
numeric vector of constants |
tcovar |
numeric matrix of time-varying covariate values at observation times. |
r_measure_ptr |
external pointer to measurement process simulation fcn |
matrix with a simulated dataset from a stochastic epidemic model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.