[R] persp function question

Duncan Murdoch murdoch at stats.uwo.ca
Mon Nov 9 21:46:06 CET 2009


On 11/9/2009 1:00 PM, STEFFEN Julie wrote:
> 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.

How can you tell it overestimates heights?  There's no scale given.

Duncan Murdoch

> 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
> 
> 
> ------------------------------------------------------------------------
> 
> This body part will be downloaded on demand.




More information about the R-help mailing list