| ct_rest_passes | R Documentation |
Aggregate the number of animal passes per station for REST / RAD-REST
ct_rest_passes(
detection_data,
station_data,
station_column = "Station",
species_column = "Species",
passes_column = "y",
model = c("REST", "RAD-REST")
)
detection_data |
A data frame with one row per video / detection. |
station_data |
A data frame with one row per camera station. |
station_column, species_column |
Columns giving the station ID and species
in |
passes_column |
Column holding the number of passes per video. |
model |
Either |
A tibble with one row per station x species, ready for ct_rest_effort().
data(rest_detection)
data(rest_station)
# Original REST: total passes (Y) per station
ct_rest_passes(rest_detection, rest_station, model = "REST")
# RAD-REST: videos split by number of passes (y_0, y_1, ...)
ct_rest_passes(rest_detection, rest_station, model = "RAD-REST")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.