functional.cover.plot: Functional cover summary plot

Description Usage Arguments Value Examples

View source: R/veg_functional.cover.plot.R

Description

For veg data, summarizes and plots mean cover of functional groups.

Data are summarized for all years specified.

Background data are supplied from the lpi data select. Data for a selected ranch are not used in the calculation of regional averages.

Usage

1
2
3
4
5
6
functional.cover.plot(lpi, type = "absolute", transect,
  background = TRUE, invasives = FALSE,
  surveyyear = max(levels(as.factor(lpi$year))),
  xlab = "Functional Group", ylab = "Percent Cover",
  legendtitle = "Ranch", legendnames = c(paste(transect, collapse =
  " "), "Others"), boxcolors = c("black", "gray"))

Arguments

lpi

A dataframe object of lpi data from a veg survey

type

"absolute" or "relative" cover

transect

Ranch for which to make plot

background

= TRUE whether to display "background" data on plot not from selected ranch

surveyyear

The year for which to calculate cover

xlab, ylab

Axis labels

legendtitle

Character string of legend title

legendnames

specifies how points are named on the legend

boxcolors

vector of colors to display data on the boxplot

Value

A ggplot of functional cover with error bars

Examples

1
data = functional.cover.plot(lpi, type = "absolute")

weverkaj/RMN documentation built on July 26, 2019, 10:34 p.m.