[R] persp function question

STEFFEN Julie julie.steffen at unine.ch
Mon Nov 9 19:00:52 CET 2009


Hello,
I have a question about persp function:
I made my classical matrix with x, y and z variables and I dont know why I obtain a 3D image with overestimate heights.

Here is my script:

microtopo = read.csv2("topo2.csv", dec=".")
attach(microtopo)
require(akima)  # for persp or
zz <-interp (x, y, z)
persp(zz)



See also my attach file



Thanks,

Best regards



JS

-------------- next part --------------
A non-text attachment was scrubbed...
Name: topo1.pdf
Type: application/pdf
Size: 114859 bytes
Desc: topo1.pdf
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091109/615a9446/attachment-0002.pdf>


More information about the R-help mailing list