opc_flag: Flag bad data

View source: R/opc.R

opc_flagR Documentation

Flag bad data

Description

Flag bad OPC data based on several criteria. When a record is flagged the flag value is updated to reflect the reason. The criteria and associated flag values are as follows:

Usage

opc_flag(df)

Arguments

df

OPC data frame

Details

  1. extreme depths - depth

  2. non-sequential timer values - timer

  3. slow descent rates (<0.3 m/s) - slow

  4. directional reversals - reversal

  5. extreme light attenuance - attenuance

  6. extreme volume filtered - volume

Value

OPC tibble with updated flag column


hansenjohnson/opcr documentation built on Jan. 24, 2023, 5:04 a.m.