I have big binary matrix (0,1) and I want to visualize it so that every entry of my matrix is one pixel in the plot. I use the image() function, but it does not
image()
I dnt know about the image() function, but you can do this with EBImage package like this.
a<-list(c(0,1,1,0),c(1,1,0,0)) b<-matrix(unlist(a),ncol=2) library(EBImage) x <- as.Image(b) display(x,method='raster')