However, in this case it is the use of %/% that is wrong: the fuzz
ts.eps is supposed to be used. Will alter (in R-devel for now).
On Tue, 20 Apr 2010, Peter Dalgaard wrote:
Patrick Aboyoun wrote:
I've stumbled across an issue with aggregate.ts that either is due to a
misuse of %/% or someth
Patrick Aboyoun wrote:
> I've stumbled across an issue with aggregate.ts that either is due to a
> misuse of %/% or something deeper relating to numerical precision on
> Windows. The test code is
>
> x <- rep(6:10, 1:5)
> as.vector(aggregate(as.ts(x), FUN = mean, ndeltat = 5))
>
> On Linux and
I've stumbled across an issue with aggregate.ts that either is due to a
misuse of %/% or something deeper relating to numerical precision on
Windows. The 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 <- r