powered by
Plot objects of class "profile" produced by profile_hill and other profile functions.
# S3 method for profile autoplot( object, ..., main = NULL, xlab = "Order of Diversity", ylab = "Diversity", shade_color = "grey75", alpha = 0.3, lty = 1, lwd = 0.5 )
A ggplot2::ggplot object.
An object of class "profile".
Unused.
The main title of the plot.
The label of the x-axis.
The label of the y-axis.
The color of the shaded confidence envelopes.
The opacity of the confidence envelopes, between 0 (transparent) and 1 (opaque).
The line type of the curves.
The line width of the curves.
# Diversity profile curve autoplot(profile_hill(mock_3sp_abd))
Run the code above in your browser using DataLab