census_path: Wrapper for evaluating the compartment counts at census...

View source: R/census_path.R

census_pathR Documentation

Wrapper for evaluating the compartment counts at census times.

Description

Wrapper for evaluating the compartment counts at census times.

Usage

census_path(path, census_times, census_columns = NULL, census_matrix = NULL)

Arguments

path

matrix containing the path to be censused.

census_times

vector of census times

census_columns

indices of columns to be censused. If not specified, will default to all columns except 'time', 'event', and 'ID'.

census_matrix

existing matrix of compartment counts at census times to be modified in place. If not specified, a new matrix will be returned.

Value

matrix of compartment counts at census times


fintzij/stemr documentation built on March 25, 2022, 12:25 p.m.