Skip to contents

Checks whether compartment IDs or indices are part of (valid) for a specific model.

Usage

checkCompartmentId(model, comp)

Arguments

model

Model of class ModelOrg

comp

A character vector specifying the compartment IDs or a integer vector providing the compartment indices in the model.

Value

A logical vector; TRUE if ID/index is valid, FALSE otherwise.