View source: R/plot_functions.R
nightPlot | R Documentation |
Plot activity (number of calls) over one night.
nightPlot(
plotData,
day = min(plotData$survey_date),
sel_species = "every",
x_limits = NULL,
y_limits = NULL,
plot_T = FALSE,
plot_T_color = "black",
n_ybreaks = 5,
text_size = 16
)
plotData |
data generated by |
day |
day to plot in POSIXct format or "YYYY-MM-DD", defaults to first
date in |
sel_species |
species name or vector of species to plot, use "every" to plot all species individually (differentiated by color) |
x_limits |
x-axis limits, NULL (default) or a POSIXct vector of length 2 |
y_limits |
y-axis limits, NULL (default) or a numeric vector of length 2 |
plot_T |
logical, should Temperature be plotted? |
plot_T_color |
r color string, see |
n_ybreaks |
roughly how many tickmarks are plotted on the y-Axis |
text_size |
base text size |
a ggplot
object
Other plot functions:
periodPlot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.