Coerce to an Equation Vector
Usage
as.eqnvec(x, ...)
# S3 method for class 'character'
as.eqnvec(x = NULL, names = NULL, ...)
# S3 method for class 'eqnlist'
as.eqnvec(x, ...)Arguments
- x
object of class
characteroreqnlist.- ...
for the
eqnlistmethod, arguments going togetFluxes(), e.g.type; otherwise not used.- names
character, the left-hand sides of the equations. Default
NULLusesnames(x).
Value
Object of class eqnvec.
Details
For an eqnlist, the right-hand sides of the ODE are assembled
from getFluxes().