Removes unknown fish lengths. Returns an arrow dataset.
Arguments
- data
An arrow dataset of fish data. See
open_fish()
- univariate
(logical) Will these data be used for univariate analyses (
univariate=TRUE
)? Or multi-species analyses (univariate=FALSE
)? If univariate, when aLength_NA_flag=="Unknown length"
record is found, all records of that taxa from that sample are removed. In effect, this is transforming those records into missing data. Ifunivariate=FALSE
, when aLength_NA_flag=="Unknown length"
record is found, the entire sample is removed and no 0s are filled in, since accurate community data cannot be confirmed for that sample.