[R] interpolation and 3D plots

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Mon Feb 3 11:22:02 CET 2003

plan <- interp.old(x,y.z)

is very close.

This is in MASS (the book) with examples.

On Mon, 3 Feb 2003, Davies, Jonathan wrote:

> I've been told that you may be able to help.
> I have a complex linear model with multiple two-way interaction terms. Is
> there a way to view the interaction terms in a 3d plot equivalent to the S
> functions:
> > plan<-interp(x,y,z)
> > image(plan)
> where x and y are my explanatory variables and z my response variable.

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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list