Learn R Programming

FREddyPro (version 1.0)

removeOutliers: Remove outliers

Description

Function to remove statistical outliers

Usage

removeOutliers(x, na.rm = TRUE, ...)

Arguments

x
Variable to remove outliers
na.rm
Logical option for NA values. If TRUE NA value will be ignored.
...
Further arguments

Examples

Run this code
## Load the data
data(fluxes)

## Remove outliers for evapotranspiration
fluxes$E<-removeOutliers(fluxes$E)

Run the code above in your browser using DataLab