possible bug in image() ??
Gareth Davies a Âécrit :
Hi everyone. The function image() seems not to be correctly plotting some matrices that I give it. (IÂ’m using R 2.1.1) ..where the first column in x (vector ccc) is depicted horizontally along the bottom of the image.
Hello,
here's a way to have an image according the usual view.
timage = function(M)
{
M1 = M;
for (i in 1:nrow(M)) M1[i,] = M[nrow(M)-i+1,];
image(t(M1));
}
hih