[R] S intrp function

Roger Bivand Roger.Bivand at nhh.no
Thu Apr 3 08:35:22 CEST 2003


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



More information about the R-help mailing list