R/census_path_collection.R
census_path_collection.Rd
Census each path in a collection of paths to obtain the compartment counts at census times.
census_path_collection(
paths,
census_times,
census_columns = NULL,
as_array = FALSE
)
either a list or array of paths
vector of census times
indices of columns to be censused. If not specified, will default to all columns except 'time', 'event', and 'ID'.
return the matrices of compartment counts as an array?
a list (default) or array of matrices of compartment counts at census times.