pal_n-m: Filter considering color complexity.

Description Usage Arguments Examples

Description

Palettes are constituted by a specific number of color. pal_n allow filter considering the number of colors on the palette.

Usage

1
2
3
4
pal_n(x, min = 0L, max = Inf)

## S4 method for signature 'pal'
pal_n(x, min = 0L, max = Inf)

Arguments

x

pal object;

min

numeric; Minimum number of colors on the palette.

max

numeric; Maximum number of colors on the palette.

Examples

1
2
pal_search() # Number of palettes : 77004
pal_search() + pal_n(min = 100, max = 120) # Number of palettes : 500

csaybar/pal documentation built on May 4, 2019, 6:30 a.m.