ReportFigure | R Documentation |
ReportFigure will summarize historic estimates from Alaska Region aerial surveys in a point graph that can be exported for reporting.
ReportFigure(
area,
species,
year = "all",
type = "combined",
index,
index2 = "none",
title = "",
x.title = "Year",
y.title = "Population Index"
)
area |
Which area (project) will be plotted (ACP, CRD, YKD, YKG) |
species |
The species chosen (see |
year |
The range of years for the figure. |
type |
Observer-specific (observer), strata-specific (strata), or combined (combined; default value) |
index |
The population index requested (total, itotal, ibb, sing1pair2, flock) |
index2 |
The second index to be plotted simultaneously (optional). |
title |
The overall figure title. If nothing entered as an argument, the user will be prompted to enter a title in the function. |
x.title |
The desired x axis label for the final figure. |
y.title |
The desired y axis label for the final figure. |
ReportFigure will take one of the historic estimates tables (package data for AKaerial) and display it as a ggplot figure suitable for an external report.
Renders and returns a ggplot figure
Charles Frost, charles_frost@fws.gov
https://github.com/USFWS/AKaerial
ReportFigure(area="ACP",
species=c("MALL", "SPEI"),
index="ibb",
index2="itotal",
title="Mallard and Spectacled Eider population indices from the Arctic Coastal Plain, 2007-2024")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.