| stoichiometry | R Documentation | 
Return and optionally evaluate the mathematical expression appearing in the stoichiometry matrix.
box | 
 Either   | 
time | 
 Time. The value is ignored in the case of autonomous models.  | 
A matrix of numeric or character type, depending on the value of
box.
If the stoichiometric factors are mathematical expressions involving function references, these functions must be defined in R (even if the numerical computations are based on generated Fortran code).
See other methods of the rodeo-class or
plotStoichiometry for a graphical representation of the
stoichiometric factors only.
data(vars, pars, funs, pros, stoi)
model <- rodeo$new(vars, pars, funs, pros, stoi, dim=c(1))
model$setPars(c(mu=0.8, half=0.1, yield= 0.1, vol=1000, flow=50, sub_in=1))
model$setVars(c(bac=0.1, sub=0.5))
monod <- function(c,h) {c/(c+h)}
print(model$stoichiometry(box=NULL))
print(model$stoichiometry(box=c(1)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.