[R] Calculate x-values from a spline

2006-07-28 Thread Gunther Höning
Hello, I calculate splines from messured points(x,y) of an unknown function f(x). e.g. x - c(0.004115, 0.012345, 0.037037, 0.10, 0.30, 1.00) y - c(37, 50, 45, 60, 50, 66) w - c(0.8540541, 0.832, 0.882, 0.798, 0.822, 0.8151515) as weights f - smooth.spline(x,y,w) Now I

Re: [R] Calculate x-values from a spline

2006-07-28 Thread Cuvelier Etienne
Gunther Höning a écrit : Hello, I calculate splines from messured points(x,y) of an unknown function f(x). e.g. x - c(0.004115, 0.012345, 0.037037, 0.10, 0.30, 1.00) y - c(37, 50, 45, 60, 50, 66) w - c(0.8540541, 0.832, 0.882, 0.798, 0.822, 0.8151515) as

Re: [R] Calculate x-values from a spline

2006-07-28 Thread Simon Wood
On Friday 28 July 2006 13:31, Cuvelier Etienne wrote: Gunther Höning a écrit : Hello, I calculate splines from messured points(x,y) of an unknown function f(x). e.g. x - c(0.004115, 0.012345, 0.037037, 0.10, 0.30, 1.00) y - c(37, 50, 45, 60, 50, 66) w - c(0.8540541,