Get color functions from character vectors

get_cols(my_cols, task, guide = "none")

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).