Learn R Programming

dMod (version 1.0.0)

as.eqnvec: Coerce to an equation vector

Description

An equation list stores an ODE in a list format. The function translates this list into the right-hand sides of the ODE.

Usage

as.eqnvec(x, ...)

# S3 method for character as.eqnvec(x = NULL, names = NULL, ...)

# S3 method for eqnlist as.eqnvec(x, ...)

Arguments

x

object of class character or eqnlist

...

arguments going to the corresponding methods

names

character, the left-hand sides of the equation

Value

object of class eqnvec.

Details

If x is of class eqnlist, getFluxes is called and coerced into a vector of equations.