plot.dets: Plot a 'dets' object

Description Usage Arguments Details Examples

View source: R/s1_proc_inputs.R

Description

S3 method for plotting a dets object.

Usage

1
plot.dets(proc_det, which = "history", ...)

Arguments

proc_det

A data.frame of class dets as returned by the function proc_dets().

which

A character string for which plot to create. Defaults to map. See details below.

...

Additional parameters to pass to the specific plotting function.

Details

Wrapper that calls one of the plotting functions, depending on the value of parameter which. If which == "history" then the function plot_sta_history() is called (the default), but if which == "map" then the function map_dets() is called.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#Load the example data set
data(acoustic)

#Process detections
proc.det <- proc_dets(det = acoustic$detections, sta = acoustic$stations)

#Plot station history
plot(proc.det)

#Map detections
plot(proc.det, which = "map")

bsmity13/ADePTR documentation built on Nov. 9, 2019, 12:43 a.m.