search for: rawt

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

Did you mean: raw
2010 Apr 20
1
bug in aggregate.ts
...ate.ts(). The 'ndeltat' argument is effectively being reduced by 1 in some cases, even when it is an integer, with the result that the blocks to be aggregated are not of the expected size, and also that the end() of the aggregated series is much later than the end() of the original series. rawts <- ts(rep(1:10, each = 5), start = 1) ## ndeltat = 5, but splits into blocks of 4 rather than 5: agts <- aggregate(rawts, ndeltat = 5, FUN = function(x) {str(x);mean(x)}) int [1:4] 1 1 1 1 int [1:4] 1 2 2 2 int [1:4] 2 2 3 3 int [1:4] 3 3 3 4 int [1:4] 4 4 4 4 int [1:4]...