Description Usage Arguments Value Note See Also Examples
View source: R/quality_check.R
Quality checks and convenient splitting of time series
1 2 | quality_check(prxlist, meta, T0, T1, maxhiat = 800, length.min = 15,
min.res = 500, min.range=(T1-T0)/3)
|
prxlist |
List of zoo objects |
meta |
metadata |
T0 |
Vector of start points |
T1 |
Vector of end points |
maxhiat |
Maximum hiatus length in time series |
length.min |
Minimum acceptable length of the time series |
min.res |
Minimum acceptable resolution |
min.range |
Minimum time covered (in time units) |
Returns a list of
WBT.out |
Window-by-time-object |
metafilt |
Filtered metadata object |
ind.ok |
Indices of acceptable objects |
TBD: Floating window definition (e.g. Eemian by thermal max. in window)
1 2 3 4 5 6 7 8 9 10 11 | # Generate a list of long time series time series, one for each network node
Xlist<-lapply(replicate(3,zoo(x=rnorm(1000)*seq(1,1000)),simplify=FALSE),sample,250)
metafake<-data.frame(c(-75,30,75),c(120,120,120),c("a","b","c"))
colnames(metafake)<-c("Lat","Lon","Name")
# window each time series
#OUT<-lapply(Xlist,window_by_time,T0=0,T1=1000,shift=0.75)
OUT<-window_by_time(Xlist,T0=c(0,500),T1=c(500,1000))
OUT<-quality_check(Xlist,metafake,T0=0,T1=1000,maxhiat=10,length.min=100,min.res=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.