Description Usage Arguments Value Examples
View source: R/plot-detection.R
Plot Columbia River White Sturgeon movement paths from VR2 receiver detection data.
1 2 3 4 5 6 7 8 9 | plot_detection_path(
detection_event,
deployment,
reference_rkm,
receiver_group,
receiver_group_rkm,
lims_x,
lims_y
)
|
detection_event |
A tibble of detection path data returned from |
deployment |
A tibble of the receiver deployments containing columns 'date_deployment', 'date_last_download', 'station', 'array', 'array_rkm'. |
reference_rkm |
A tibble of reference rkm locations containing columns 'label' and 'rkm'. |
receiver_group |
A character string of the column containing receiver group (e.g., station, zone, array). |
receiver_group_rkm |
A character string of the column containing receiver group rkm. |
lims_x |
A vector of class 'Date' containing x-axis limits. |
lims_y |
A vector of the numeric y-axis limits. |
An object of class 'ggplot'.
1 2 3 4 5 6 | ## Not run:
lims_x = c(min(deployment$date_deployment), max(deployment$date_last_download))
lims_y = c(0, 56)
plot_detection_path(detection, deployment, reference_rkm)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.