plotweb: Plot a Food Web Analysed Using the analyse.single() Function

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Produces a three dimensional, coloured plot from data provided as a binary, ordered predator-prey matrix. The matrix needs to have been analysed with the function analyse.single() in order for this function to work.

Usage

1
plotweb(cols, radii)

Arguments

cols

a list of colours, one per trophic level in the food web. Any colour name found is colours() or colors() is allowed. See colours() and colors()

radii

a list of radii, one per trophic level in the food web.

Details

Angle of orientation of the plot can be manipulated by click, drag and drop operations directly on the graphics device. Zoom can be manipulated with the mouse wheel while the graphics device is active.

Value

A three dimensional plot of a food web network, as generated using plot3d of the package rgl.

Author(s)

Giselle Perdomo

References

Perdomo G., Sunnucks P. and Thompson R.M. (submitted). food web: an open-source program for the visualisation and analysis of compilations of complex food webs. Environmental Modelling and Software.

See Also

analyse.single analyse.list analyse.seq mat.2.list

Examples

1
2
3
4
5
6
7
8
 
## Not run: 
data(moss)
write.table(moss, file = "moss.csv", append=FALSE, sep=",", col.names=FALSE, row.names=FALSE)
analyse.single(filename="moss.csv")
plotweb(col=c("red", "green", "blue", "yellow"), radii=c(5,10,12,12))

## End(Not run)

foodweb documentation built on May 2, 2019, 1:27 p.m.