quality_check: Quality checks and convenient splitting of time series

Description Usage Arguments Value Note See Also Examples

View source: R/quality_check.R

Description

Quality checks and convenient splitting of time series

Usage

1
2
quality_check(prxlist, meta, T0, T1, maxhiat = 800, length.min = 15, 
min.res = 500, min.range=(T1-T0)/3)

Arguments

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)

Value

Returns a list of

WBT.out

Window-by-time-object

metafilt

Filtered metadata object

ind.ok

Indices of acceptable objects

Note

TBD: Floating window definition (e.g. Eemian by thermal max. in window)

See Also

window_by_time

Examples

 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)

krehfeld/nest documentation built on May 28, 2019, 12:33 a.m.