Learn R Programming

mrgsolve (version 1.5.2)

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.

...

not used.

tag

compartment name.

Examples

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

Run the code above in your browser using DataLab