Measuring the limit of a point on a smooth.spline in R
Posted
by
Subtle Array
on Stack Overflow
See other posts from Stack Overflow
or by Subtle Array
Published on 2012-06-07T16:25:47Z
Indexed on
2012/06/07
16:40 UTC
Read the original article
Hit count: 194
I'm not sure if that's the right terminology.
I've entered some data into R, and I've put a smoothingSpline through it using the following command.
smoothingSpline = smooth.spline(year, rate, spar=0.35)
plot(x,y)
lines(smoothingSpline)
Now I'd like to measure some limits (or where the curve is at a given y point), and maybe to some predictive analysis on points that extend beyond the graph.
Are there commands in R for doing this?
© Stack Overflow or respective owner