R/RcppExports.R
lna_incid2prev.Rd
Convert an LNA path from the counting process on transition events to the compartment densities on their natural scale.
lna_incid2prev(
path,
flow_matrix,
init_state,
forcing_matrix,
forcing_inds,
forcing_tcov_inds,
forcings_out,
forcing_transfers
)
matrix containing the LNA path in terms of the counting processes on transition events (incidence)
stoichiometry matrix (the transpose of the flow matrix)
initial compartment counts on the natural scale
matrix containing the forcings.
The process can be re-expressed by left-multiplying each row in the path matrix by the stoichiometry matrix: \(X_t = X_0 + A'N_t\).
logical vector of indicating at which times in the time-varying covariance matrix a forcing is applied.