generate_colors_for_numeric {proBatch}R Documentation

Generates color vector from continous palette

Description

Generates a vector of colors for a vector of numeric, POSIXct (i.e. the (signed) number of seconds since the beginning of 1970 , or factors

Usage

generate_colors_for_numeric(palette_type = "brewer", i = 1)

Arguments

palette_type

'brewer' or 'viridis'

i

if palette_type is 'brewer' the palette argument to brewer_pal. If palette_type is 'viridis' the option argument to viridis_pal

Value

vector of colors


[Package proBatch version 1.10.0 Index]