nightPlot: Night Plot

Description Usage Arguments Value See Also

View source: R/plot_functions.R

Description

Plot activity (number of calls) over one night.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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 April 22, 2021, 2:27 a.m.