search for: r51771

Displaying 2 results from an estimated 2 matches for "r51771".

2010 Apr 19
1
Issue with aggregate.ts and/or %\% on Windows
...test code is x <- rep(6:10, 1:5) as.vector(aggregate(as.ts(x), FUN = mean, ndeltat = 5)) On Linux and Mac I get the correct answer > x <- rep(6:10, 1:5) > as.vector(aggregate(as.ts(x), FUN = mean, ndeltat = 5) [1] 7.2 8.8 10.0 > sessionInfo() R version 2.11.0 RC (2010-04-18 r51771) i386-apple-darwin9.8.0 locale: [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base and on Windows I get an incorrect answer > x <- rep(6:10, 1:5) > as.vector(aggregate(as.ts(x), FUN = m...
2010 Apr 20
1
bug in aggregate.ts
...end(x)[1], deltat = deltat(x), length = length(x))) # ndeltat=5 ndeltat=5+ # start 1 1.000000 # end 56 46.000045 ## `rawts` ends at 50 # deltat 5 5.000005 # length 12 10.000000 sessionInfo() R version 2.11.0 RC (2010-04-18 r51771) i386-pc-mingw32 locale: [1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 [3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C [5] LC_TIME=English_Australia.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base -- Felix Andrews...