R/census_path.R
census_path.Rd
Wrapper for evaluating the compartment counts at census times.
census_path(path, census_times, census_columns = NULL, census_matrix = NULL)
matrix containing the path to be censused.
vector of census times
indices of columns to be censused. If not specified, will default to all columns except 'time', 'event', and 'ID'.
existing matrix of compartment counts at census times to be modified in place. If not specified, a new matrix will be returned.
matrix of compartment counts at census times