PlotRankNPS {cheddar} | R Documentation

## Plot rank of node properties

### Description

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

### Usage

    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

    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)

[Package cheddar version 0.1-633 Index]