Description Usage Arguments Details Value Author(s) Examples
Function based on the timestamp to identify if there is a discontinuity in the timeseries
1 | continuity(data, timestamp = NULL, timediff = 30)
|
data |
The data frame |
timestamp |
A string giving the name of the timestamp. |
timediff |
If no timestamp is given then the function assumes the standard EddyPro output (which originaly does not include a timestamp) and uses internally the createTimestamp function to create one.
Returns a data frame
Georgios Xenakis
1 2 3 4 5 6 7 8 9 10 11 12 | ## Load the data
data(fluxes)
## Clean fluxes
fluxes=cleanFluxes(fluxes,sdCor=TRUE,sdTimes=3,timesList=3,distCor=TRUE,
thresholdList=list(H=c(-100,1000),LE=c(-100,1000)))
## Remove some line as an example
fluxes=fluxes[-c(832,833,834,835,840,953),]
## Create timestamp from date and time
continuity(fluxes)
|
[1] Discontinuity in 3 instances
[1] 2014-06-14 03:30:00 UTC 2014-06-14 06:00:00 UTC 2014-06-16 14:30:00 UTC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.