old_species_daily_site_plot | R Documentation |
species_daily_site_plot
creates a plot of nightly activity for a chosen
species at all sites within a project.
old_species_daily_site_plot(
dataset,
project_name,
species,
monitoring_start,
monitoring_end,
gaps = NULL,
survey_year = NULL,
save_directory = NULL,
title = TRUE,
y_scale = "free_y",
width = 25,
height = 20,
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. |
species |
Character: the four letter species code for the species you wish to plot. E.g. "Epfu". |
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 |
survey_year |
Character: for projects with data from multiple years, to select year |
title |
Logical vector. Defaults |
y_scale |
Character. Determines whether scales on the y-axis are matched or free. Defaults to "free_y" for unmatched axis, set to "fixed" for matched axis. |
width |
Number. The width in cm of the plot if saved to file. Default is 25 cm. |
height |
Number. The height of the plot if saved to file. Default is 20 cm. |
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.
Other Basic Plots:
monitoring_effort_plot()
,
monthly_activity_plot()
,
multi_species_daily_site_plot()
,
species_daily_site_plot()
,
species_site_aggregated_plot()
## Not run: species_daily_site_plot(species_night_site_projectname, "Project Name", "Mylu", "2019-01-01", "2019-12-31")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.