cleanVar: Clean a variable

Description Usage Arguments Author(s) Examples

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

Description

Remove values based if they are greter or less than the given thresholds

Usage

1
cleanVar(x, data, lessThan = NULL, greaterThan = NULL)

Arguments

x

A character giving the name of the variable to clean

data

The data frame

lessThan

A number giving the "less than" threshold for removing values from the 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
## Load the data
data(fluxes)

## Clean a variable
fluxes<-cleanVar("H",fluxes,lessThan=-200,greaterThan=1500)

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