autoplot.prestonfit.Rd
Draws a bar plot of species rank abundance with Fisher's log-series superimposed.
# S3 method for prestonfit
autoplot(
object,
show.fitted = TRUE,
xlab = "Abundance",
ylab = "Number of Species",
title = "Preston's lognormal distribution",
subtitle = NULL,
caption = NULL,
bar.col = NA,
bar.fill = "grey35",
line.col = "red",
size = 1,
...
)
an object of class prestonfit
.
logical; should the estimated distribution also be plotted?
character; label for the x axis.
character; label for the y axis.
character; title for the plot.
character; subtitle for the plot.
character; caption for the plot.
colour for the bar outlines. The default, NA
, does not draw outlines around bars.
fill colour for the bars.
colour for Fisher's log-series curve.
numeric; size aesthetic for the log-series curve.
additional arguments passed to other methods.
A ggplot object.