R/generics.R
R/class_mrgmod.R
cmtn.Rd
Get the compartment number from a compartment name
cmtn(x, ...) # S4 method for mrgmod cmtn(x, tag, ...)
model object
passed along
compartment name
mod <- mrgsolve::house() mod %>% cmtn("CENT") #> [1] 2