Hi. I am trying some S-Plus scripts that I used a few years ago on R. Many things have worked flawlesly and I am very impressed with the work the developers have done. (As I remember, the license fee on S-Plus at that time was ~$4500 per seat (AIX) ouch!!) So, thank you. My question relates to the intrp function, which takes irregularly spaced xyz data and produces a regular xyz grid suitable for contouring or imaging. I have not found the equivalent function in R; have I missed it or is there some other preferred method to accomplish this. Thank you very much. Don p.s. I am not subscribed to this list, so an email reply would be appreciated.
There is function `interp' in library(akima). Maybe this is what you're looking for? -roger _______________________________ UCLA Department of Statistics rpeng at stat.ucla.edu http://www.stat.ucla.edu/~rpeng On Wed, 2 Apr 2003, Don Isgitt wrote:> Hi. > > I am trying some S-Plus scripts that I used a few years ago on R. Many > things have worked flawlesly and I am very impressed with the work the > developers have done. (As I remember, the license fee on S-Plus at that > time was ~$4500 per seat (AIX) ouch!!) So, thank you. > > My question relates to the intrp function, which takes irregularly > spaced xyz data and produces a regular xyz grid suitable for contouring > or imaging. I have not found the equivalent function in R; have I missed > it or is there some other preferred method to accomplish this. > > Thank you very much. > > Don > > p.s. I am not subscribed to this list, so an email reply would be > appreciated. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >
On 2 Apr 2003 at 13:02, Don Isgitt wrote: Try package akima. Kjetil Halvorsen> Hi. > > I am trying some S-Plus scripts that I used a few years ago on R. Many > things have worked flawlesly and I am very impressed with the work the > developers have done. (As I remember, the license fee on S-Plus at that > time was ~$4500 per seat (AIX) ouch!!) So, thank you. > > My question relates to the intrp function, which takes irregularly > spaced xyz data and produces a regular xyz grid suitable for contouring > or imaging. I have not found the equivalent function in R; have I missed > it or is there some other preferred method to accomplish this. > > Thank you very much. > > Don > > p.s. I am not subscribed to this list, so an email reply would be > appreciated. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
On Wed, 2 Apr 2003, Don Isgitt wrote:> Hi. > > I am trying some S-Plus scripts that I used a few years ago on R. Many > things have worked flawlesly and I am very impressed with the work the > developers have done. (As I remember, the license fee on S-Plus at that > time was ~$4500 per seat (AIX) ouch!!) So, thank you. > > My question relates to the intrp function, which takes irregularly > spaced xyz data and produces a regular xyz grid suitable for contouring > or imaging. I have not found the equivalent function in R; have I missed > it or is there some other preferred method to accomplish this.Try package akima, interp() or variants should do what you need.> > Thank you very much. > > Don >-- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Breiviksveien 40, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93 e-mail: Roger.Bivand at nhh.no
See if the `akima' package on CRAN does what you want. I just checked in Splus 6.1 on Linux and there's no `intrp'. Do you mean `interp'? Andy> -----Original Message----- > From: Don Isgitt [mailto:djisgitt at soundenergy.com] > Sent: Wednesday, April 02, 2003 2:02 PM > To: r-help at stat.math.ethz.ch > Subject: [R] S intrp function > > > Hi. > > I am trying some S-Plus scripts that I used a few years ago > on R. Many > things have worked flawlesly and I am very impressed with the > work the > developers have done. (As I remember, the license fee on > S-Plus at that > time was ~$4500 per seat (AIX) ouch!!) So, thank you. > > My question relates to the intrp function, which takes irregularly > spaced xyz data and produces a regular xyz grid suitable for > contouring > or imaging. I have not found the equivalent function in R; > have I missed > it or is there some other preferred method to accomplish this. > > Thank you very much. > > Don > > p.s. I am not subscribed to this list, so an email reply would be > appreciated. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >------------------------------------------------------------------------------