Learn R Programming

mrgsolve (version 0.8.9)

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
# NOT RUN {
mod <- mrgsolve:::house()
mod %>% cmtn("CENT")
# }

Run the code above in your browser using DataLab