Learn R Programming

mrgsolve (version 1.5.1)

cmtn: Get the compartment number from a compartment name

Description

Get the compartment number from a compartment name

Usage

cmtn(x, ...)

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

Arguments

x

model object

...

passed along

tag

compartment name

Examples

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

Run the code above in your browser using DataLab