[R] R function for "interp"
José Ernesto Jardim
ernesto at ipimar.pt
Mon Oct 2 16:09:29 CEST 2000
Prof Brian Ripley wrote:
> > Date: Mon, 02 Oct 2000 14:33:00 +0100
> > From: José Ernesto Jardim <ernesto at ipimar.pt>
> >
> > Prof Brian Ripley wrote:
> >
> > > > Date: Mon, 02 Oct 2000 12:01:29 +0100
> > > > From: José Ernesto Jardim <ernesto at ipimar.pt>
> > >
> > > > How can I do the same has interp in s+ with R ? I've looked to
> > > > "approxfun" but didn't figured out how to do it.
> > >
> > > It's in package akima (on CRAN). I think interp,old there is the
> > > closest equivalent.
> > >
> > >
> > I found it but it's not working properly :-(
> >
> > If I do "contour(interp(X,Y,Z))" it stops without finishing the ploting
> process,
> > the margins and borders fail.
> >
> > Is there any known reason why ?
>
> Did you try interp.old *as I suggested*? There are working examples in
> the V&R script ch14.R. The first of those does work with interp, so
> perhaps your installation of package akima is broken?
>
> --
> Brian D. Ripley, ripley at stats.ox.ac.uk
> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
> University of Oxford, Tel: +44 1865 272861 (self)
> 1 South Parks Road, +44 1865 272860 (secr)
> Oxford OX1 3TG, UK Fax: +44 1865 272595
Yes, I used interp.old also ! It's the same, interp is a wraper to
interp.old or interp.new depending on the object (I suppose).
I'll look in the script your talking about.
Thanks
EJ
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list