Re: [R] Application of results from smooth.spline outside R

2011-09-07 Thread Jesper
Hi Jean, Thanks for the reply.. Using your suggestion, I end up in in the source code (Fortran 77 i believe). At first look, it seems a bit more tedious to implement than I expected. -- View this message in context:

Re: [R] Application of results from smooth.spline outside R

2011-09-07 Thread Spencer Graves
Hi, Jesper: Where Outside R do you want to use it? There are R interfaces to many other software packages, and many that cannot easily link to R can link to Fortran. You could use library(sos) to search for R packages to connect to whatever. Hope this helps.

[R] Application of results from smooth.spline outside R

2011-08-25 Thread Jesper
Hi, I want to use the result from smooth.spline outside R. I take my data ,which is 180 point stored in x and y s - smooth(x,y) I can know use to e.g. find the interpolated value at e.g. x=500 predict (s,500) My problem is, that i don't know how to implement the predict function. I have

Re: [R] Application of results from smooth.spline outside R

2011-08-25 Thread Jean V Adams
I'm assuming that you meant to write s - smooth.spline(x, y) You can look at the code for the predict method for smooth.spline by typing getAnywhere(predict.smooth.spline) If a new value is provided (i.e., the 500 in your example) then the predict method for smooth.spline.fit is applied to