handleFlagsInternal {oce} | R Documentation |
Low-Level Function for Handling Data-Quality Flags
Description
This function is designed for internal use within the oce
package. Its
purpose is to carry out low-level processing relating to data-quality flags,
as a support for higher-level functions such handleFlags,ctd-method for
ctd
objects, handleFlags,adp-method for adp
objects,
etc.
Usage
handleFlagsInternal(object, flags, actions, where, debug = 0)
Arguments
object |
an oce object. |
flags |
a named list of numeric values. |
actions |
A character vector indicating actions to be carried out for the corresponding
|
where |
An optional string that permits the function to work with
objects that store flags in e.g. |
debug |
An integer indicating the degree of debugging requested, with value |
Value
A copy of object
, possibly with modifications to its
data
slot, if object
contains flag values that have
actions that alter the data.