PlotRankNPS: Plot rank of node properties

Description Usage Arguments Details Author(s) See Also Examples

View source: R/graph_nodes.R

Description

High-level functions for plotting value-versus-rank of node properties.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PlotRankNPS(community, 
            property, 
            rank.by=property, 
            log10.rank = FALSE, 
            xlab, 
            ylab, 
            show.web=FALSE, 
            ...)

PlotMvRankM(community, 
            log10.rank = FALSE, 
            xlab, 
            ylab, 
            ...)

PlotNvRankN(community, 
            log10.rank = FALSE, 
            xlab, 
            ylab, 
            ...)

PlotBvRankB(community, 
            log10.rank = FALSE, 
            xlab, 
            ylab, 
            ...)

Arguments

community

an object of class Community

property

the name of a property that is plotted on the y axis. Must meet the criteria of the properties parameter of NPS.

rank.by

the name of a property by which points are ordered along the x axis. Must meet the criteria of the properties parameter of NPS.

log10.rank

logical - if TRUE the rank values plotted on the x axis are log10-transformed.

xlab

title of the x axis.

ylab

title of the y axis.

show.web

logical - if TRUE and community has trophic links then the food web is plotted using the link* and highlight.links parameters

...

other values to PlotNPS.

Details

The convenience functions PlotMvRankM, PlotNvRankN and PlotBvRankB are ‘wrappers’ around PlotRankNPS that plot rank log10-transformed body mass (M), numerical abundance (N) or biomass (B).

Author(s)

Lawrence Hudson

See Also

Community, NPS, PlotBSpectrum, PlotCircularWeb, PlotNPS, PlotNPSDistribution, PlotNSpectrum, PlotTLPS, PlotWebByLevel

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(TL84)
PlotNvRankN(TL84)

# log10(N) against log10(rank of M)
PlotRankNPS(TL84, property='Log10N', rank.by='M', log10.rank=TRUE)


# The 'POM (detritus)' node in the Ythan Estuary dataset lacks body mass.
par(mfrow=c(1,2))
data(YthanEstuary)
PlotMvRankM(YthanEstuary)
PlotMvRankM(YthanEstuary, show.na=TRUE)

quicklizard99/cheddar documentation built on June 10, 2018, 12:15 p.m.