foodweb.plot {streambugs} | R Documentation |
Plot the streambugs "foodweb" graph.
Description
Plot the "foodweb" graph depicting interactions between ODE variables in a streambugs model.
Usage
foodweb.plot(
y.names,
par,
file = NA,
cex = 1,
font = 1,
title = "",
lwd = 1,
bg = colors()[1],
lcol = colors()[555],
ncrit = 8,
lcrit = 20,
survivals = NA,
observed = NA,
texts = TRUE,
pointcol = FALSE,
...
)
Arguments
y.names |
same as |
par |
same as |
file |
optional name of a PDF file to plot to |
cex |
same as |
font |
same as |
title |
optional title for the plot |
lwd |
same as |
bg |
same as |
lcol |
same as |
ncrit |
number of inverts in one line at which they are shifted up and down, alternating |
lcrit |
number of letters/characters of state names which are plottet at level 2 |
survivals |
vector with the entries |
observed |
vector with the entries |
texts |
if to plot as "food web"nodes as texts with taxa names; otherwise, plot points |
pointcol |
if to color text or point nodes using Eawag coloring scheme (eawagfarben); otherwise plot all in the same color |
... |
additional arguments for the |
Examples
model <- streambugs.example.model.toy()
foodweb.plot(model$y.names, model$par, cex=1.1, title="complete foodweb", ncrit=8,
lcrit=7, lwd=2, bg="white", lcol="blue", font=2)