showcase: shows a list of images in a convenient way

Description Usage Arguments Details Examples

View source: R/showcase.R

Description

shows a list of images in a convenient way

Usage

1
2
showcase(imgs, width = NULL, height = NULL, normalize = c("no", "x", "y",
  "square"), cex = 0.75, show_code = FALSE, max_char_code = 40)

Arguments

imgs

list of raster objects or single raster object

width, height

layout of plot, default to a square or close

normalize

x to normalize width, y for height, square to stretch to a square

cex

numeric character expansion factor, see ?text

show_code

display code under the picture, if the call contains the code.

max_char_code

to limit amount of characters shown when displaying code

Details

normalise: x to normalize width, y for height, sq

Examples

1
2
showcase(tweak(system.file("img", "Rlogo.png", package="png"),
  color="purple",bold=1,alpha = 0.3))

moodymudskipper/tweak documentation built on May 20, 2019, 8:49 a.m.