Re: [R] Optimal knot locations for splines

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Fri, 02 May 2008 07:36:45 +0000 (UTC)

Mike Dugas <mikedugas77 <at> gmail.com> writes:

>
> Thanks for the help. I tried out the one promising lead, curfit.free.knot,
> and it doesn't work for linear or quadratic splines. The documentation says
> it should, but when I specify a linear spline, it returns a cubic.

Could you demonstrate this with a self-running example?

Dieter



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 02 May 2008 - 07:48:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 02 May 2008 - 09:30:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive