AOplot {FuzzyQ} | R Documentation |
Abundance Occupancy Plot
Description
Plots the abundance-occupancy relationship of species in a community categorized as common or rare by fuzzyq.
Usage
AOplot(
fq,
col.rc = c("red", "blue"),
opacity = 0.1,
log.x = FALSE,
log.y = FALSE,
xLab = "Fraction of sites occupied",
yLab = "Mean abundance",
...
)
Arguments
fq |
A list of class |
col.rc |
A vector specifying two colors to be used to plot common and rare species. Accept any valid color specification in R. |
opacity |
Number within [0,1] specifying the opacity of convex hulls grouping common and rare species. |
log.x |
Logical. Whether or not the x axis should be in log10 scale. |
log.y |
Logical. Whether or not the y axis should be in log10 scale. |
xLab |
String. Title for the x axis. |
yLab |
String. Title for the y axis. |
... |
Other graphical parameters to be passed to
|
Value
A scatter plot of occupancy vs. abundance of species. Convex hulls enclose common and rare species.
Examples
data(antsA)
FQAnts <- fuzzyq(antsA, sorting = TRUE)
AOplot(FQAnts) # Plor with default values
# Alternative with colors specified in Hex code, logarithmic axes and other
# point format
AOplot(FQAnts, col.rc = c("#013bad","#bd5f69"),
log.x = TRUE, log.y = TRUE, pch = 4)
[Package FuzzyQ version 0.1.0 Index]