webplot | R Documentation |
Plots the food web associated with an Rpath object.
webplot(
Rpath.obj,
eco.name = attr(Rpath.obj, "eco.name"),
line.col = "grey",
highlight = NULL,
highlight.col = c("black", "red", "orange"),
labels = FALSE,
label.pos = NULL,
label.num = FALSE,
label.cex = 1,
fleets = FALSE,
type.col = "black",
box.order = NULL
)
Rpath.obj |
Rpath model created by the ecopath() function. |
eco.name |
Optional name of the ecosystem. Default is the eco.name attribute from the rpath object. |
line.col |
The color of the lines between nodes of the food web. |
highlight |
Set to the group number or name to highlight the connections of that group. |
highlight.col |
Color of the connections to the highlighted group. |
labels |
Logical whether or not to display group names. If True and label.pos is Null, no points will be ploted, just label names. |
label.pos |
A position specifier for the labels. Values of 1, 2, 3, 4, respectively indicate positions below, to the left of, above, and to the right of the points. A null value will cause the labels to be ploted without the points (Assuming that labels = TRUE). |
label.num |
Logical value indication whether group numbers should be used for labels instead of names. |
label.cex |
The relative size of the labels within the plot. |
fleets |
Logical value indicating whether or not to include fishing fleets in the food web. |
type.col |
The color of the points cooresponding to the types of the group. Can either be of length 1 or 4. Color order will be living, primary producers, detrital, and fleet groups. |
box.order |
Vector of box numbers to change the default plot order. Must include all box numbers |
Creates a figure of the food web.
Other Rpath functions:
MTI()
,
adjust.forcing()
,
check.rpath.params()
,
create.rpath.params()
,
extract.node()
,
frate.table()
,
read.rpath.params()
,
rpath()
,
rpath.groups()
,
rpath.stanzas()
,
stanzaplot()
,
write.Rpath()
,
write.Rsim()
,
write.rpath.params()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.