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

View source: R/generic.R

getCompartmentIndexR Documentation

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 signature 'compartments,character'
getCompartmentIndex(object, name)

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

Arguments

object

generic object that contains compartments information

name

compartment name

Value

the corresponding compartment index


campsismod documentation built on Oct. 12, 2023, 5:13 p.m.