getStates: Find which species in the model are states.

Description Usage Arguments Value Note Author(s) See Also

View source: R/getStates.R

Description

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

Usage

1
	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.

Note

For internal use of CNORode.

Author(s)

David Henriques, Thomas Cokelaer

See Also

incidence2Adjacency


CNORode documentation built on Nov. 8, 2020, 7:39 p.m.