| raplot {MLpreemption} | R Documentation | 
Rank-abundance plot
Description
Function raplot creates a rank-abundance plot online, and can show decaying lines fitted by various method.
Usage
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  | 
Value
NULL
Author(s)
Jan Graffelman (jan.graffelman@upc.edu)
References
Graffelman, J. (2021) Maximum likelihood estimation of the geometric niche preemption model
Examples
data(Fattorini)
raplot(Fattorini[,2])
[Package MLpreemption version 1.0.1 Index]