Functions which splits the fluxes to positive and negative, estimates
mean and standard deviation and removes values which are greater than
a predefined times the standard deviation
Usage
sdClean(var, p)
Arguments
var
The variable to clean
p
A number giving the times of the standard deviation
## Load the datadata(fluxes)
## Clean CO2 fluxes using 3 times the SD for negative and positive## values separatelyfluxes$co2_flux<-sdClean(fluxes$co2_flux,3)