data(co021)
dat=co021
flagged=dat$'646244'
names(flagged)=rownames(dat)
dat$'646107'=NULL
foo=series.rwl.plot(rwl=dat,series=flagged,seg.length=100,n=5)
#note effect of n on first year in the series
foo=series.rwl.plot(rwl=dat,series=flagged,seg.length=100,n=13,prewhiten=FALSE)
bar=series.rwl.plot(rwl=dat,series=flagged,seg.length=100,n=7,prewhiten=FALSE)
head(foo$series)
head(bar$series)
Run the code above in your browser using DataLab