cmtn {mrgsolve}R Documentation

Get the compartment number from a compartment name

Description

Get the compartment number from a compartment name

Usage

cmtn(x, ...)

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

Arguments

x

model object

...

passed along

tag

compartment name

Examples

mod <- mrgsolve::house()
mod %>% cmtn("CENT")

[Package mrgsolve version 1.4.1 Index]