viz_palettes: Wrapper of 'ochRe::viz_palette' to plot multiple palettes at...

Description Usage Arguments

Description

This function plots multiple palettes passed as a named list of hex color vectors without the user having to write a loop.

Usage

1
2
viz_palettes(palettes, ncolors = sapply(palettes, length), ncol = 2,
  nrow = ceiling(length(palettes)/ncol))

Arguments

palettes

Named list of character vectors that contain hex colors of the palettes.

ncolors

Integer vector showing the number of colors to plot for each palette, defaults to all colors in each palette.

ncol

Number of columns in the plot.

nrow

Number of rows in the plot.


lambdamoses/IslamicArt documentation built on May 23, 2019, 8:04 p.m.