qcClean: Clean using QC flag

Description Usage Arguments Author(s) Examples

View source: R/functions.r View source: R/qcClean.r

Description

Function cleaning data based on QC flags.

Usage

1
qcClean(var, qcVar, qc)

Arguments

var

The variable to clean.

qcVar

The associated QC flags variable.

qc

An integer indicating the QC flags to remove. It can be a single value or an array of values. Default value is 2.

Author(s)

Georgios Xenakis

Examples

1
2
3
4
5
## Load the data
data(fluxes)

## Remove QC flags 1 and 2 for CO2
fluxes$co2_flux<-qcClean(fluxes$co2_flux,fluxes$qc_co2_flux,c(1,2))

FREddyPro documentation built on May 29, 2017, 7:22 p.m.