R/RcppExports.R
census_latent_path.Rd
Construct a matrix containing the compartment counts and the incidence at a sequence of census times.
census_latent_path(
path,
census_path,
census_inds,
event_inds,
flow_matrix,
do_prevalence,
parmat,
initdist_inds,
forcing_inds,
forcing_tcov_inds,
forcings_out,
forcing_transfers,
row0 = 0L
)
matrix containing the path to be censused (cumulative incidence).
matrix to be filled out with the path.
vector of indices for census interval endpoints.
vector of column indices in the path matrix for events that should be censused.
matrix containing the flow matrix for the LNA (no incidence)
should the prevalence be computed
matrix with parameters, constants, and time varying covariates and parameters.
logical vector of indicating at which times in the time-varying covariance matrix a forcing is applied.
the initial compartment counts
matrix containing the compartment counts at census times.