rasterImage(image, xleft, ybottom, xright, ytop, angle=0, interpolate=TRUE)
Create a grid of colors, which could represent pixels of an image or something like a correlation matrix.
  • image – A "raster" object, or an object that can be coerced to a raster object via as.raster (e.g. an array with dimensions d x d x 3).
  • xleft, ybottom, xright, ytop – The boundaries of the raster image.
  • angle – If desired, specify an angle to rotate the raster image. The rotation pivots on the bottom-left corner.
  • interpolate – If TRUE, then automatic smoothing will be done on the raster image.

Continue reading