cmtn {mrgsolve} | R Documentation |
Get the compartment number from a compartment name
cmtn(x, ...)
## S4 method for signature 'mrgmod'
cmtn(x, tag, ...)
x |
model object |
... |
passed along |
tag |
compartment name |
mod <- mrgsolve::house()
mod %>% cmtn("CENT")