getLinVars | R Documentation |
Identify linear variables in an equation vector using sympy
getLinVars(eqnvec)
eqnvec |
An object of class |
This function calls Python's 'sympy' library via 'reticulate' to symbolically analyze equations and determine if variables appear linearly in all equations.
A character vector of variables that occur linearly in all equations.
eqnvec <- as.eqnvec(
c("-k1*A", "k1*A - k2*B", "-k3*B*C/(Km+C) + k4*pC", "k3*B*C/(Km+C) - k4*pC"),
names = c("A", "B", "C", "pC")
)
getLinVars(eqnvec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.