Visualize a matrix

image2(x, ...)

Arguments

x

A numeric or integer matrix

...

parameters to be passed to ggplot2::geom_raster

Examples

image2( matrix(c(rnorm(1e5), runif(1e5)), 1e2) )