species_site_aggregated_plot | R Documentation |
species_site_aggregated_plot
creates a plot of nightly activity for
each species in a dataset. Different sites within the dataset are aggregated.
Monitor activity can be plotted by including a gaps dataset (generated by
log_file_parser
if desired.
species_site_aggregated_plot(
dataset,
project_name,
monitoring_start,
monitoring_end,
gaps = NULL,
title = "TRUE",
save_directory = NULL,
text_size = 8,
date_label = "%b"
)
dataset |
Object: a |
project_name |
Character, a brief and relevant reference phrase that will be used to name the text file. Ideally matching project name used in other functions. |
monitoring_start |
Character, the date the monitoring began (e.g. "2019-01-01") |
monitoring_end |
Character, the date the monitoring ceased (e.g. "2019-01-01") |
gaps |
Object: a |
title |
Logical vector. Defaults |
text_size |
Numeric: adjusts the size of text in the figure. |
save.directory |
Character: if provided a .png image of the plot will be
saved in the folder specified. Defaults to |
date_breaks |
Date value: adjusts the formatting of the month labels on the y-axis. See https://www.statmethods.net/input/dates.html for formatting. |
A plot as an object in the current environment, and a saved image if selected.
Because all sites are aggregated, if gaps are plotted these will be applied to each facet of the plot. Overlapping plots are indicated by denser colour.
Other Basic Plots:
monitoring_effort_plot()
,
monthly_activity_plot()
,
multi_species_daily_site_plot()
,
old_species_daily_site_plot()
,
species_daily_site_plot()
## Not run:
species_site_aggregated_plot(species_night_site_projectname, "Project Name", "2019-01-01", "2019-12-31")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.