Learn R Programming

CNORode (version 1.14.0)

getStates: Find which species in the model are states.

Description

Receives an adjacency matrix (model$interMat from CellNoptR) and finds which species are states (i.e. not inputs).

Usage

getStates(adjacency)

Arguments

adjacency
An adjacency matrix from the model.

Value

A numeric vector with 0's for positions which are states and 1's for positions which are.

See Also

incidence2Adjacency