cleanVarG: Clean a variable above a threshold

Description Usage Arguments Author(s) Examples

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

Description

Remove values based if they are greter than the given thresholds

Usage

1
cleanVarG(data, x, y = NULL, greaterThan = NULL)

Arguments

data

The data frame

x

A character giving the name of the variable to clean

y

A second character giving the name of the variable to clean based on the selection of x variable

greaterThan

A number giving the "greater than" threshold for removing values from the variable

Author(s)

Georgios Xenakis

Examples

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

## Clean a variable
fluxes<-cleanVarG(data=fluxes,x="H",greaterThan=1500)
fluxes<-cleanVarG(data=fluxes,x="DOY",y="H",greaterThan=175)

Example output



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