get_cols: Get color functions from character vectors

Description Usage Arguments

View source: R/utils.R

Description

Get color functions from character vectors

Usage

1
get_cols(my_cols, task, guide = FALSE)

Arguments

my_cols

Character vectors of different hex values

task

Character string indicating the type of problem, either 'classification' (categorical outcome) or 'regression' (continuous outcome).

guide

A function used to create a guide or its name. Inherit from ['ggplot2::guides()'](https://ggplot2.tidyverse.org/reference/guides.html).


treeheatr documentation built on Nov. 20, 2020, 1:07 a.m.