On Wed, 16 Feb 2011 05:16:07 pm Dieter Menne wrote:
> Steven Cordwell wrote:
> > However, transforming z into a matrix with two rows, where both rows are
> > the same as z above does seem to be a workaround.
> >
> > z <- matrix(c(z,z),2,length(z),byrow=TRUE)
> &g
Hi,
I have a vectors x and z, for example,
x <- 0:20
z <- round(runif(20,1,7))
y <- 0.5
and I want to display z as an image. However if I then call image() with a
vector
image(x,y,t(z),zlim=c(1,7),col=heat.colors(7),xlab="Year",ylab="Action",yaxt="n",xaxs="r",yaxs="r")
then I get the error
E
2 matches
Mail list logo