[R] spline bug ?

FWR mail at fwr.on.ca
Fri Oct 4 21:17:51 CEST 2002


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list