Skip to content
Prev 2160 / 63424 Next

yet another ts problem

Ross Ihaka wrote:

            
An alternative to using "[.ts" to take row subsets would be to 
expand the window.ts() function to include a "freq" or "deltat"
argument. One can then use window() to thin out a regular time series
and "[.ts" could be modified to just return a simple array subset
(in the process get rid of the horrible warning about not returning a
time series).

I already did something like this in the coda package for MCMC output -
which one often wants to thin out because of high autocorrelation.

Martyn
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._