raplot {MLpreemption} | R Documentation |
Function raplot
creates a rank-abundance plot online, and can show decaying lines fitted by various method.
raplot(x, xlab = "Species rank", ylab = "log (Relative abundance)",
main = "Rank-Abundance plot", reflines = c(1, 2, 3, 4), alpha = 0.05, leg = FALSE)
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 |
NULL
Jan Graffelman (jan.graffelman@upc.edu)
Graffelman, J. (2021) Maximum likelihood estimation of the geometric niche preemption model
data(Fattorini)
raplot(Fattorini[,2])