Learn R Programming

campsismod (version 1.2.1)

getCompartmentIndex: Get the compartment index for the specified compartment name.

Description

Get the compartment index for the specified compartment name.

Usage

getCompartmentIndex(object, name)

# S4 method for compartments,character getCompartmentIndex(object, name)

# S4 method for campsis_model,character getCompartmentIndex(object, name)

Value

the corresponding compartment index

Arguments

object

generic object that contains compartments information

name

compartment name