After determining the direction of movement using `addDirection()`, this function provides some indication of whether each detection should be kept for an analysis analyzing movement in a single direction

filterDetections(compress_obs = NULL, parent_child = NULL, max_obs_date = NULL)

Arguments

compress_obs

The result of `compress()`.

parent_child

data frame with at least `parent` and `child` columns. Can be created with `buildParentChild()` function.

max_obs_date

Character string in the format "YYYYMMDD". If included, the output will suggest that observations after this date should be deleted.

Value

a tibble

Author

Kevin See

Examples

filterDetections()
#> Error in filterDetections(): !is.null(compress_obs) is not TRUE