pal_search: Create a pal object

Description Usage Arguments Value

Description

pal_search() initializes a S4 object. It is also used to set global parameters.

Usage

1
pal_search(catalogs = "cpt-city", type = c("continuous", "discrete"))

Arguments

catalogs

character vector; Collections of palettes that are used in the search. The palette collections available in pal package are:

  • cpt-city: http://soliton.vm.bytemark.co.uk/pub/cpt-city/index.html

  • color-hex: https://www.color-hex.com/color-palettes/

  • paletteer: https://github.com/EmilHvitfeldt/paletteer

type

character vector; Type of palette. The type:

  • 'continuous'

  • 'discrete'

  • 'diverging'

  • 'qualitative'

  • 'sequential'

The types: diverging, qualitative and sequential only are supported by the 'paletteer'catalog.

Value

a pal object (see pal).


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