Two two dimensional matrix are plotted as a tripartite graph.
plotweb2(web, web2, method = "cca", empty = FALSE, labsize = 1, ybig = 1,
y_width = 0.1, spacing = 0.05, arrow="no", col.interaction="grey80",
col.pred = "grey10", col.prey="grey10", lab.space=1, lablength = NULL,
sequence=NULL, low.abun=NULL,low.abun.col="green", high.abun=NULL,
high.abun.col="red", method2 = "cca", empty2 = TRUE, spacing2 = 0.05,
arrow2="no", col.interaction2="grey80", col.pred2 = "grey30",
col.prey2="grey20", lablength2 = NULL, sequence.pred2=NULL,low.abun2=NULL,
low.abun.col2="green", high.abun2=NULL, high.abun.col2="red")
Returns a window with a tripartite graph of a food web.
Web is a matrix representing the interactions observed between higher trophic level species (columns) and lower trophic level species (rows). Usually this will be number of pollinators on each species of plants or number of parasitoids on each species of prey.
The other web to be included.
Default method is cca, which leads to as few crossings of interactions as possible. The other option is normal, which leaves order as given by the matrix.
logical; should empty columns or empty rows be omitted from plotting; defaults to true
factor for size of labels, default is 1
vertical distance between upper and lower boxes, default is 1
width of upper and lower boxes, default is 0.1
horizonatal distance between boxes within a level, default is 0.05
display type of connection between upper and lower boxes, options are up, down, both and no, default is no, which is a polygonal connection between boxes.
color of interaction, default is grey80.
color of upper boxes, default is grey10.
color of lower boxes, default is grey10.
sometimes it is neccessary to add additional space for labels below and above of the boxes, so all labels are shown, default is 1.
number of characters of labels that should be plotted. If zero no labels are shown, default is NULL which plots the complete labels.
list of two with two names vectors: seq.pred
and seq.prey
, which specify the order in which species are plotted. Cannot be set for method="cca". Defaults to NULL
, where the sequence remains as given or is determined by the CCA internally.
Vector with independent abundance estimates for the lower trophic level, NULL if none exists.
Colour for depicting the abundance estimates for the lower trophic level; defaults to green.
Vector with independent abundance estimates for the higher trophic level, NULL if none exists.
Colour for depicting the abundance estimates for the lower trophic level; defaults to red.
Default method is cca, which leads to as few crossings of interactions as possible. The other option is normal, which leaves order as given by the matrix.
logical; should empty columns or empty rows be omitted from plotting; defaults to true
horizontal distance between boxes within one level, default is 0.05
display type of connection between upper and lower boxes, options are up, down, both and no, default is no, which is a polygonal connection between boxes.
color of interaction, default is grey80.
color of upper boxes, default is grey10.
color of lower boxes, default is grey10.
number of characters of labels that should be plotted. If zero no labels are shown, default is NULL which plots the complete labels.
list of two with two names vectors: seq.pred
and seq.prey
, which specify the order in which species are plotted. Cannot be set for method="cca". Defaults to NULL
, where the sequence remains as given or is determined by the CCA internally.
Vector with independent abundance estimates for the lower trophic level, NULL if none exists.
Colour for depicting the abundance estimates for the lower trophic level; defaults to green.
Vector with independent abundance estimates for the higher trophic level, NULL if none exists.
Colour for depicting the abundance estimates for the lower trophic level; defaults to red.
Bernd Gruber bernd.gruber@canberra.edu.au
For a different plot of food webs see visweb
and plotweb