Description Usage Arguments Details Value See Also Examples
View source: R/s1_proc_inputs.R
This function takes a processed detection history returned by
proc_dets() and plots the station history.
1 | plot_sta_history(proc_det, set_par = TRUE, use_ggplot = FALSE, ...)
|
proc_det |
A |
set_par |
|
use_ggplot |
|
... |
Additional arguments (not currently implemented) |
Details here
Plots a figure of station activity over time.
proc_dets for details on the formatting of the
data.frame proc_det
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #Load the example data set
data(acoustic)
#Process detections
proc.det <- proc_dets(det = acoustic$detections, sta = acoustic$stations)
#Plot station history
plot_sta_history(proc.det)
#Plot station history with ggplot2
library(ggplot2)
(p <- plot_sta_history(proc.det, use_ggplot = TRUE)) #ggplot
#Change options on ggplot
p +
theme_bw() +
labs(title = "Detection History")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.