[R] persp() misfeature
Duncan Murdoch
murdoch at stats.uwo.ca
Sun Dec 2 21:00:54 CET 2007
On 02/12/2007 2:16 PM, Allen McIntosh wrote:
> 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'.
Right, also still there in R-devel. It's just a typo, which I'll fix.
Duncan Murdoch
More information about the R-help
mailing list