as.eqnvec: Coerce to an equation vector

View source: R/eqnClass.R

as.eqnvecR Documentation

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 class 'character'
as.eqnvec(x = NULL, names = NULL, ...)

## S3 method for class '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

Details

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

Value

object of class eqnvec.


dkaschek/dMod documentation built on April 23, 2024, 5:18 p.m.