count.feeding.links {streambugs} | R Documentation |
Count feeding links between taxa in streambugs ODE.
Description
Count number of global "Cons" stoichiometric interactions (feeding links) between streambugs ODE state variables (taxa) in all habitats.
Usage
count.feeding.links(y.names, par)
Arguments
y.names |
same as |
par |
same as |
Value
Integer number of feeding links, which is a number of feeding links in a single habitat times number of habitats and number of reaches.
Examples
m <- streambugs.example.model.toy()
count.feeding.links(m$y.names, m$par)
# feeding links count does not change w/ number of habitats (nor reaches)
m <- streambugs.example.model.toy(n.Habitats=10)
count.feeding.links(m$y.names, m$par)
[Package streambugs version 1.4 Index]