View source: R/old_Activity_Timing.R
old_first_observations_plot | R Documentation |
first_observations_plot
creates a plot showing the first observation of
the specified species relative to local sunset for each site withn a project.
old_first_observations_plot(
dataset,
project_name,
species,
monitoring_start,
monitoring_end,
gaps = NULL,
location = NULL,
survey_year = NULL,
timezone = "EST",
text_size = 8,
date_label = "%b",
save_directory = NULL
)
dataset |
Object: a |
project_name |
Character, a brief and relevant reference phrase that will be used to name the text file. Ideally mathcing 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 |
location |
Specify a location to filter to a specific site. Default is
|
survey_year |
Specify a specific year. Default is |
timezone |
Character. Specify a timezone for calculating sunset times. Default is 'EST', do not change for Ontario data... |
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 envrionment, and a saved image if selected.
Other Activity Timing:
first_observations_plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.