Displaying 1 result from an estimated 1 matches for "agts2".
Did you mean:
agts
2010 Apr 20
1
bug in aggregate.ts
...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] 5 5 5 5
int [1:4] 5 6 6 6
int [1:4] 6 6 7 7
int [1:4] 7 7 7 8
int [1:4] 8 8 8 8
int [1:4] 9 9 9 9
int [1:4] 9 10 10 10
## Adding a small amount onto ndeltat bumps it up to blocks of 5:
agts2 <- aggregate(rawts, ndeltat = 5 + getOption("ts.eps") / 2,
FUN = function(x) {str(x);mean(x)})
int [1:5] 1 1 1 1 1
int [1:5] 2 2 2 2 2
int [1:5] 3 3 3 3 3
int [1:5] 4 4 4 4 4
int [1:5] 5 5 5 5 5
int [1:5] 6 6 6 6 6
int [1:5] 7 7 7 7 7
int [1:5] 8 8 8 8 8
int [1:5]...