Filters BioticData.

FilterBiotic(BioticData, FilterExpression = list(), 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. For a numeric filter, in the current StoX GUI, NA must be added manually in the text field of the "Expression table dialog" (the "Query builder dialog" will only show numeric values and will show an empty fields if the filter contains NA).

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.