Description Usage Arguments Details Value
View source: R/vegetation-figures.R
Species accumulation curve of one spring in one field season
1 2 3 | SpeciesAccumulationCurve(conn, path.to.data, spring, field.season,
data.source = "database", plot.title, sub.title, x.lab, y.lab, ymax,
ymin, xmax, xmin)
|
conn |
Database connection generated from call to |
path.to.data |
The directory containing the csv data exports generated from |
spring |
Spring code to generate a plot for, e.g. "LAKE_P_BLUE0". |
field.season |
Field season name to filter on, e.g. "2019". |
data.source |
Character string indicating whether to access data in the spring veg 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. |
Only includes data from visits labeled 'Primary.' Does not include UNKS but does include To Be Determined unknown species.
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.