image2:
Plot Images (Matrices) with Intuitive Axes
Description
Plot images (array or matrix) using the rasterImage function.
Usage
image2(img, ...)
Arguments
img
numeric matrix or array to plot
…
additional arguments to pass to the plot function
Value
Nothing. Returns a plotting window.
Details
Note the difference in image orientation between image() and image2(). These two plots will have the origin in different locations and can make things tricky when picking areas to crop, etc...