Re: [R] Spline Question

2012-02-15 Thread Jeff Newmiller
What part of read the posting guide did you not understand? The provide commented, minimal, self-contained, reproducible code part? --- Jeff NewmillerThe . . Go Live...

Re: [R] Spline Question

2012-02-15 Thread Michael Bedward
On 15 February 2012 19:00, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote: What part of read the posting guide did you not understand? The provide commented, minimal, self-contained, reproducible code part? Off topic: why is there so much unfriendliness on this thread ? Both the above and DW's

Re: [R] Spline Question

2012-02-15 Thread Berend Hasselman
On 14-02-2012, at 22:14, Hasan Diwan wrote: dput(sensor.sample) structure(c(1328565718.65, 1328566608.9, 1328566162.65, 1328566571.1, 1328566598.85, 1328565634.3, 1328566513.95, 1328565123.65, 1328565827.1, .. What I'd like to do is get a spline through all the points. I'm thinking the

Re: [R] Spline Question

2012-02-15 Thread Rolf Turner
On 15/02/12 21:25, Michael Bedward wrote: On 15 February 2012 19:00, Jeff Newmillerjdnew...@dcn.davis.ca.us wrote: What part of read the posting guide did you not understand? The provide commented, minimal, self-contained, reproducible code part? Off topic: why is there so much

[R] Spline Question

2012-02-14 Thread Hasan Diwan
dput(sensor.sample) structure(c(1328565718.65, 1328566608.9, 1328566162.65, 1328566571.1, 1328566598.85, 1328565634.3, 1328566513.95, 1328565123.65, 1328565827.1, 1328566719.9, 1328565527.55, 1328565118.05, 1328565556.85, 1328565623.85, 1328565230.75, 1328566083.85, 1328566012.45, 1328566795.75,

Re: [R] Spline Question

2012-02-14 Thread David Winsemius
On Feb 14, 2012, at 4:14 PM, Hasan Diwan wrote: dput(sensor.sample) structure(c(1328565718.65, 1328566608.9, 1328566162.65, 1328566571.1, snipped 5 pages of data 0.909395426580465, 0.806793813827552, 0.474927337412093, -0.0383057034947468, -0.454526719533217, -0.187379201707524,

Re: [R] Spline Question

2012-02-14 Thread Rolf Turner
David: Why do you say the OP wants a 503rd or 504th degree polynomial? He/she wants an interpolating spline. But that is precisely what spline() or splinefun() would give him/her. So I don't understand the problem either!!! To the OP: What did you actually *do* to create your spline?

Re: [R] Spline Question

2012-02-14 Thread Hasan Diwan
Rolf, On 14 February 2012 21:26, Rolf Turner rolf.tur...@xtra.co.nz wrote:    What did you actually *do* to create your spline?    Did you use spline() or splinefun()?  And if not, why not? Yes... I used the spline() function to get a list of points that should go though every point in the