R/persp.asc.r

"persp.asc" <- function(x, ...)
  {
      ## Verifications
      if (!inherits(x, "asc")) stop("not an \"asc\" object")
      if (attr(x, "type")=="factor")
          stop("function persp cannot be used with factors")

      ## The plot
      z<-x
      xy<-getXYcoords(z)
      x<-xy$x
      y<-xy$y
      persp(x=x, y=y, z, ...)
  }

Try the adehabitat package in your browser

Any scripts or data that you put into this service are public.

adehabitat documentation built on Jan. 28, 2018, 5:02 p.m.