Create mixed color variable

tbl_rt_color_op(
  data,
  column = NULL,
  bind_name = F,
  fn = c("invert", "mean"),
  space = c("HSV", "RGB"),
  snake_names = T
)

Arguments

data

`tibble`

column

name of the column

bind_name

if `TRUE` bind name to new ceature

fn

Character: "invert", "mean": Function to perform

space

Character: "HSV", "RGB": Colorspace to operate in - for averaging only

snake_names

Value

Examples

library(asbviz)
tbl_rt_color_op(iris, "Sepal.Length", bind_name = F)