subset.eqnlist: subset of an equation list

Description Usage Arguments Details Value Examples

View source: R/eqnClass.R

Description

subset of an equation list

Usage

1
2
## S3 method for class 'eqnlist'
subset(x, ...)

Arguments

x

the equation list

...

logical expression for subsetting

Details

The argument ... can contain "Educt", "Product", "Rate" and "Description". The "

Value

An object of class eqnlist

Examples

1
2
3
4
5
6
reactions <- data.frame(Description = c("Activation", "Deactivation"), 
                        Rate = c("act*A", "deact*pA"), A=c(-1,1), pA=c(1, -1) )
f <- as.eqnlist(reactions)
subset(f, "A" %in% Educt)
subset(f, "pA" %in% Product)
subset(f, grepl("act", Rate))

dMod documentation built on Jan. 27, 2021, 1:07 a.m.