find_col: find_col(ts, comp) finds columns for a specific compartment...

View source: R/utils.R

find_colR Documentation

find_col(ts, comp) finds columns for a specific compartment input comp can be E,I,A,H and V and input ts is ODE time-series results We expect the variable name for compartments to be either - "comp" when only there is one compartment: for example "H" - "compn" when there are several comaprtments: for example "Hn" and n=1,2,..

Description

find_col(ts, comp) finds columns for a specific compartment input comp can be E,I,A,H and V and input ts is ODE time-series results We expect the variable name for compartments to be either - "comp" when only there is one compartment: for example "H" - "compn" when there are several comaprtments: for example "Hn" and n=1,2,..

Usage

find_col(ts, col)

Arguments

ts
col

Value

column's number of compartment col

Examples

find_col(ts,"E")

phac-nml-phrsd/wem documentation built on June 6, 2024, 11:06 p.m.