raplot: Rank-abundance plot

Description Usage Arguments Value Author(s) References Examples

View source: R/raplot.R

Description

Function raplot creates a rank-abundance plot online, and can show decaying lines fitted by various method.

Usage

1
2
raplot(x, xlab = "Species rank", ylab = "log (Relative abundance)",
       main = "Rank-Abundance plot", reflines = c(1, 2, 3, 4), alpha = 0.05, leg = FALSE)

Arguments

x

Vector of counts (species abundances)

xlab

Label for the x axis

ylab

Label for the y axis

main

Title for the plot

reflines

Lines to be drawn in the plot: 1=ML, 2=LS, 3=May, 4=He-Tang

alpha

Signifance level (0.05 by default)

leg

Show legend leg=TRUE or not leg=FALSE

Value

NULL

Author(s)

Jan Graffelman (jan.graffelman@upc.edu)

References

Graffelman, J. (2021) Maximum likelihood estimation of the geometric niche preemption model

Examples

1
2

MLpreemption documentation built on Feb. 11, 2021, 5:07 p.m.