View source: R/streambugs_plot.r
foodweb.plot | R Documentation |
Plot the "foodweb" graph depicting interactions between ODE variables in a streambugs model.
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, ... )
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 |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.