Optimal knot locations for splines
Hi, Mike:
Thanks for the bug report. Attached please find a version of
'curfit.free.knot' that will now fit splines of degree other than 3.
This will appear in the next official release of DierckxSpline. Until
then, you can use the attached. (It still has known bugs, but with luck
they won't affect you.)
Hope this helps.
Spencer Graves
Mike Dugas wrote:
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. On 5/1/08, Spencer Graves <spencer.graves at pdf.com> wrote:
RSiteSearch('free knot splines', 'fun') produced 5 hits, the first of
which is curfit.free.knot {DierckxSpline}.
RSiteSearch('estimate knots', 'fun') produced 54 hits, but I don't
know if any of those would help you.
Spencer Graves
[[alternative HTML version deleted]]
______________________________________________ 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.
-------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: curfit.free.knot.R URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080503/b7fb4f8a/attachment.pl>