Skip to content
Back to formatted view

Raw Message

Message-ID: <E17xXxQ-0004Em-00@server.family>
Date: 2002-10-04T19:17:51Z
From: FWR
Subject: spline bug ?

The bug reported above for "spline" is probably related to a similar problem with sequencing in POSIX dates.
For example this works ok:
> seq(from=1,to=4,out.length=4)
 [1]  1  2  3  4 

But the following gives an output length of five, not four:
> seq(from=ISOdate(2000,1,1),to=ISOdate(2000,1,4),length.out=4)
[1] "2000-01-01 07:00:00 EST" "2000-01-02 01:00:00 EST"
[3] "2000-01-02 19:00:00 EST" "2000-01-03 13:00:00 EST"
[5] "2000-01-04 07:00:00 EST"

Surely this is a bug?

Bruce L.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._