Collapse motion detection events into episodes
Arguments
- df
a data frame of migration image data, read in with
read_image_data().- migration_map
A small data.frame defining the upstream direction(s) of travel for each sample station. Valid upstream values are:
"L to R","R to L","T to B","B to T". Columns must include:sample_station_labelupstream