[R] persp() misfeature

From: Allen McIntosh <mcintosh_at_research.telcordia.com>
Date: Sun, 2 Dec 2007 14:16:30 -0500

Version: Observed in 2.5.1

> x <- 1:10
> y <- 1
> z <- array(1:10,dim=c(10,1))
> persp(x,y,z)

Error in persp(x, y, z, xlim, ylim, zlim, theta, phi, r, d, scale, expand, :

        invalid 'x' argument

The problem isn't 'x'. It's 'y'.

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 02 Dec 2007 - 19:26:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 02 Dec 2007 - 20:30:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.