Skip to contents

Combines several images to a grid

Usage

image_combine(
  ...,
  labels = NULL,
  nrow = NULL,
  ncol = NULL,
  col = "black",
  verbose = TRUE
)

Arguments

...

a comma-separated name of image objects or a list containing image objects.

labels

A character vector with the same length of the number of objects in ... to indicate the plot labels.

nrow, ncol

The number of rows or columns in the plot grid. Defaults to NULL, i.e., a square grid is produced.

col

The color for the plot labels. Defaults to col = "black".

verbose

Shows the name of objects declared in ... or a numeric sequence if a list with no names is provided. Set to FALSE to supress the text.

Value

A grid with the images in ...

Author

Tiago Olivoto tiagoolivoto@gmail.com

Examples

library(pliman)
img1 <- image_pliman("sev_leaf.jpg")
img2 <- image_pliman("sev_leaf_nb.jpg")
image_combine(img1, img2)