BoxplotWaterPercentCover: Boxplot of water percent cover over time

Description Usage Arguments Details Value

View source: R/vegetation-figures.R

Description

Boxplot of water percent cover over time

Usage

1
2
3
BoxplotWaterPercentCover(conn, path.to.data, spring,
  data.source = "database", plot.title, sub.title, x.lab, y.lab, ymax,
  ymin, xmax, xmin)

Arguments

conn

Database connection generated from call to OpenDatabaseConnection(). Ignored if data.source is "local".

path.to.data

The directory containing the csv data exports generated from SaveDataToCsv(). Ignored if data.source is "database".

spring

Spring code to generate a plot for, e.g. "LAKE_P_BLUE0".

data.source

Character string indicating whether to access data in the spring veg database ("database", default) or to use data saved locally ("local"). In order to access the most up-to-date data, it is recommended that you select "database" unless you are working offline or your code will be shared with someone who doesn't have access to the database.

plot.title

Optional custom plot title. Leave blank to use a sensible default. Use "" to omit the title.

sub.title

Optional custom plot subtitle. Leave blank to use a sensible default. Use "" to omit the subtitle.

x.lab

Optional X axis label. Leave blank to use a sensible default. Use "" to omit the axis label.

y.lab

Y axis label. Leave blank to use a sensible default. Use "" to omit the axis label.

ymax

Optional maximum y limit.

ymin

Optional minimum y limit.

xmax

Optional maximum x limit.

xmin

Optional minimum x limit.

Details

Only includes data from visits labeled 'Primary.' Points with water recorded as "NA" and "ND" are omitted. Omits Blue Point transects 1 - 3 in 2019 since water presence/absence was not yet being recorded consistently.

Value

A ggplot object.


nationalparkservice/mojn-sv-rpackage documentation built on Oct. 29, 2021, 7:13 p.m.