makeImage | R Documentation |
Functions to make a component for the rasterImage function in the base graphics system. makeImage assumes the input "image"is an RGB array, whilst makeImageFromMatrix converts a matrix into colours for you using matrixToColours.
makeImage( type = "rasterImage", xleft = 0, xright = 1, ytop = 1, ybottom = 0, ... ) makeImageFromMatrix(...) makeImageFromMatrix2(.useData = c(FALSE, TRUE), ...)
type |
plotting function(s) used |
xleft, xright, ytop, ybottom |
positioning. see rasterImage |
... |
parameters passed to the component or the component functions imageColourScheme and matrixToColours. |
a component
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.