Skip to contents

Get the compartment number from a compartment name

Usage

cmtn(x, ...)

# S4 method for class 'mrgmod'
cmtn(x, tag, ...)

Arguments

x

model object.

...

not used.

tag

compartment name.

Examples

mod <- mrgsolve::house()
cmtn(mod, "CENT")
#> [1] 2