plot.sad: Plot species abundance distributions

Description Usage Arguments Details References Examples

View source: R/Sim_Community.R

Description

Plot species abundance distributions

Usage

1
2
## S3 method for class 'sad'
plot(x, ..., method = c("octave", "rank"))

Arguments

x

Vector with species abundances (integer vector)

...

Additional graphical parameters used in plot or barplot

method

Plotting method, partial match to "octave" or "rank"

Details

With method = "octave" a histogram showing the number species in several abundance classes is generated. The abundance class are a simplified version of the "octaves" suggested by Preston (1948), which are based on log2-binning. The first abundance class includes species with 1 individual, the second with 2, the third with 3-4, the fourth with 5-8, etc.

With method = "rank" rank-abundance curve is generated with species abundance rank on the x-axis (descending) and species abundance on the y-axis (Hubbell 2001).

References

Preston 1948. The Commonness, and rarity, of species. Ecology 29(3):254-283.

Hubbell 2001. The unified neutral theory of biodiversity and biogeography. Princeton University Press.

Examples

1
2
3
4
abund1 <- sim_sad(s_pool = 100, n_sim = 10000, sad_type = "lnorm",
                  sad_coef = list("cv_abund" = 1))
plot(abund1, method = "octave")
plot(abund1, method = "rank")

MoBiodiv/MoBspatial documentation built on July 24, 2021, 6:09 p.m.