PlotWagonWheel | R Documentation |
Plot a nodes as concentric circles around a focal node.
PlotWagonWheel(community,
focus,
clockwise=TRUE,
origin.degrees=0,
frame.plot=FALSE,
main=NULL,
...)
community |
an object of class |
focus |
the node to be placed at the centre of the plot - a node name or integer index. |
clockwise |
logical - if |
origin.degrees |
the angle in degrees at which the first node in
|
frame.plot |
logical. |
main |
the plot's title. |
... |
other values to |
The node given in focus
is plotted at the centre of the
wagon wheel. Other nodes in the community are plotted in concentric circles
that are one, two, three etc trophic links away from the focus. Isolated
nodes - those with no resources or consumers, other than possibly themselves -
are not shown.
Lawrence Hudson
Community
,
Degree
,
IsolatedNodes
,
OrderCommunity
,
PlotCircularWeb
,
PlotNPS
,
PlotWebByLevel
,
rgb
,
ShortestPaths
data(TL84)
# Ploesoma sp. is the focal species
PlotWagonWheel(TL84, 'Ploesoma sp.')
# Show nodes as numbers
PlotWagonWheel(TL84, 'Ploesoma sp.', show.nodes.as='labels')
# 'Daphnia pulex' is the focus, nodes ordered by degree (total number of
# trophic links), lines partially transparent
PlotWagonWheel(OrderCommunity(TL84, 'Degree'), 'Daphnia pulex',
show.nodes.as='labels', link.col=rgb(0.8,0.8,0.8,0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.