autoplot.fisherfit.Rd
Draws a bar plot of species rank abundance with Fisher's log-series superimposed.
# S3 method for fisherfit
autoplot(
object,
show.fitted = TRUE,
xlab = "Abundance",
ylab = "Number of Species",
title = "Fisher's log-series distribution",
bar.col = NA,
bar.fill = "grey35",
line.col = "red",
size = 1,
subtitle = NULL,
caption = NULL,
...
)
an object of class fisherfit
.
logical; should the estimated distribution also be plotted?
character; label for the x axis.
character; label for the y axis.
character; subtitle 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.
character; subtitle for the plot.
character; caption for the plot.
additional arguments passed to other methods.
A ggplot object.
data(BCI)
mod <- fisherfit(BCI[5,])
autoplot(mod)