##Load the data
data(fluxes)
## Clean data
fluxes=cleanFluxes(fluxes,sdCor=TRUE,sdTimes=3,timesList=3,distCor=TRUE,
thresholdList=list(H=c(-100,1000),LE=c(-100,1000)))
## Add the name of the site
fluxes=addSiteName(fluxes,"Harwood")
Run the code above in your browser using DataLab