[R] splines

crambe Christophe crambe at toulouse.inra.fr
Thu May 2 14:51:14 CEST 2002


I've got a problem with the R function spline.des.

I use the following arguments:
    x_seq(0,1,length=200)
    knot_quantile(x,(1:8)/9)
    ord_3
    k_sort(c(rep(range(x),ord,knot)))
    derivs_rep(2,200)

When I do spline.des(k,x,ord,derivs)$design on Splus and on R, I don't
have the same results.
However, if I take an order ord=4 (ie a spline of degree 3), then, I
have the same results on Splus and R.

Why? Is there an error from R or from Splus?

Thanks in advance

        Christophe Crambes

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