Learn R Programming

RstoxData (version 1.2.0)

FilterBiotic: Filter (raw) Biotic data

Description

Filters BioticData.

Usage

FilterBiotic(BioticData, FilterExpression, FilterUpwards = FALSE)

Arguments

BioticData

Input BioticData data.

FilterExpression

Filter expression given as a list of strings. The name of the list and structures should be identical to the names of the input data list. To extract or exclude missing values (NAs) use the operator %in% or the special operator %notin%, which is defined in RstoxData.

FilterUpwards

Whether the filter action will propagate in the upwards direction. Default to FALSE. Use this option with caution, particularly for swept-area survey estimates, where setting FilterUpwards to TRUE could affect the estimated mean density.

Value

An object of filtered data in the same format as the input data.