search for: sloppywindow

Displaying 1 result from an estimated 1 matches for "sloppywindow".

2000 Apr 03
1
window(): feature request
...w()? Could you please consider this in future releases? Or is there a better way to do this using existing functions? Thanks very much! Wolfgang Koller P.S.: Below I have added some code that accomplishes this aim in a separate function (which is probably an example of akward programming...). sloppywindow <- function(x,start,end) { if (!is.ts(x) || (NCOL(x) > 1)) stop("x is not a univariate time series") # does not work for frames xfrequ <- frequency(x) n <- length(x) time.start <- if (length(start) > 1) { if(start[2] > xfrequ) stop("invalid st...