Description Usage Arguments Details Value
Identical to manifoldMap, but adds images to an existing ggplot2
object or creates one.
1 | ggManifoldMap(ggObject = NULL, x, n = nrow(x), images, scale = 1)
|
ggObject |
a |
x |
A |
n |
The number of images to sample. |
images |
The images. A 3-D or 4-D array. |
scale |
Proportion to scale the images to. |
See manifoldMap
. Note that this function can be considerably slower to display than manifoldMap
.
It therefore should only be used if other features of ggplot2
are required.
If the objects in the list are matrix
objects, or the array is 3-dimensional, the images will be treated as
greyscale. If there is an additional dimension, it must have a length of 3 and be RGB color layers.
A ggplot
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.