nightPlot: Night Plot

View source: R/plot_functions.R

nightPlotR Documentation

Night Plot

Description

Plot activity (number of calls) over one night.

Usage

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
)

Arguments

plotData

data generated by sumBatscopeData

day

day to plot in POSIXct format or "YYYY-MM-DD", defaults to first date in plotData

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 colors

n_ybreaks

roughly how many tickmarks are plotted on the y-Axis

text_size

base text size

Value

a ggplot object

See Also

Other plot functions: periodPlot()


dcangst/batplotr documentation built on Dec. 16, 2024, 7:17 p.m.