[R] Surface Graphic
Robin Hankin
r.hankin at auckland.ac.nz
Thu May 2 23:28:18 CEST 2002
Hello Marcos
library (akima) includes a function interp() which will do
what you want.
rksh
>
> Hello list!
>
> I have a problem with the function 'persp'. I have a data set with the
> variables
> X -> The X coordenate of the insect
> Y -> The Y coordenate of the insect
> deep-> how deep the insect buried into the soil.
>
> I would like to have a plot with a surface simulating the way the insect
> buried. Is it possible? If I type
>
> persp(x,y,deep)
>
> R gives me this error message
>
> Error in persp.default(X, Y, deep) :
> increasing x and y values expected
>
> How do I overcome this?
>
> Thanks,
>
> Marcos
>
--
Robin Hankin, Lecturer,
School of Geographical and Environmental Science
Private Bag 92019 Auckland
New Zealand
r.hankin at auckland.ac.nz
tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042
as of: Fri May 3 09:26:01 NZST 2002
This (linux) system up continuously for: 246 days, 16 hours, 21 minutes
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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