ggimg_grid | R Documentation |
Plot a grid of images
ggimg_grid(imgs, scale = 0.001, fun = NULL, ...)
imgs |
vector of paths to images |
scale |
scaling factor used to display the images; from pixels to plot dimensions (in [0,1]). |
fun |
function to apply to each image, as a pre-processing step (a typical one is |
... |
passed to |
paths <- list.files(system.file("extdata", "plank",
package="morphr"), full.names=TRUE)
ggimg_grid(imgs=sample(paths, 15), scale=0.002)
ggimg_grid(imgs=sample(paths, 56), scale=0.001)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.