filter: Filter an AcousticStudy or AcousticEvent Object

Description Usage Arguments Value Author(s)

Description

Apply dplyr-like filtering to the detecitons of an AcousticStudy or AcousticEvent object, with a special case for filtering by species for an AcousticStudy

Usage

1
2
## S3 method for class 'AcousticStudy'
filter(.data, ..., .preserve = FALSE)

Arguments

.data

AcousticStudy or AcousticEvent to filter

...

Logical expressions, syntax is identical to filter. There is a special case if .data is an AcousticStudy object where a logical expression using species or Species will filter by the species present in the $id of the species slot within each AcousticEvent

.preserve

not used

Value

The original .data object, filtered by the given logical expressions

Author(s)

Taiki Sakai taiki.sakai@noaa.gov


TaikiSan21/PAMr documentation built on Nov. 15, 2020, 9:46 p.m.