densplot | R Documentation |
Plots the mean and 95% confidence intervals of abundance, size and distribution of species in an object of class NPSForVeg
.
densplot(
object,
Total = TRUE,
top = NA,
densargs = NA,
compare = NA,
labels = NA,
...
)
object |
Either a |
Total |
Logical, defaults to |
top |
Numeric, defaults to |
densargs |
A required |
compare |
A |
labels |
A character vector, defaults to |
... |
Other arguments passed to |
This function uses the xyplot
function in the lattice package to create plots that display means and 95% confidence intervals for a variety of measures of plants: - abundance, basal area, cover, and occupancy. The format of the display varies depending on the type of data to be displayed. If only a single dataset is considered (compare=NA
), then each species will be displayed.
If two or more datasets are used, then each species is plotted in its own panel, with mean and CI for each dataset. In this case the legend uses the contents of labels
to identify each dataset.
If top=0
and Total=TRUE
then only the totals are displayed. If top=NA
then all species are displayed. One or more particular species can be selected by including a species=
argument to densargs
and / or compare
.
A plot of means and 95% confidence intervals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.