multi_species_daily_site_plot: Plot Activity for All Species at Each Site Within a Project

View source: R/update_Plots.R

multi_species_daily_site_plotR Documentation

Plot Activity for All Species at Each Site Within a Project

Description

multi_species_daily_site_plot is a wrapper to apply species_daily_site_plot creates a series plot of nightly activity for a chosen species at all sites within a project.

Usage

multi_species_daily_site_plot(
  dataset,
  project_name,
  monitoring_start,
  monitoring_end,
  gaps = NULL,
  survey_year = NULL,
  save_directory = NULL
)

Arguments

dataset

Object: a species_night_site_projectname data frame genereted by the GUANO_loader function.

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 gaps_projectname data frame generated by the log_file_parser function. Defaults to null.

survey_year

Character: for projects with

save.directory

Character: if provided a .png image of the plot will be saved in the folder specified. Defaults to NULL: no output saved.

text_size

Numeric: adjusts the size of text in the figure.

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.

Value

A plot as an object in the current environment, and a saved image if selected.

See Also

Other Basic Plots: monitoring_effort_plot(), monthly_activity_plot(), old_species_daily_site_plot(), species_daily_site_plot(), species_site_aggregated_plot()

Examples

## Not run: 
species_daily_site_plot(species_night_site_projectname, "Project Name", "Mylu", "2019-01-01", "2019-12-31")

## End(Not run)

vulpes-vulpes/batr documentation built on Jan. 23, 2025, 3:23 p.m.