e_color_range {echarts4r}R Documentation

Color range

Description

Build manual color range

Usage

e_color_range(
  data,
  input,
  output,
  colors = c("#bf444c", "#d88273", "#f6efa6"),
  ...
)

e_color_range_(
  data,
  input,
  output,
  colors = c("#bf444c", "#d88273", "#f6efa6"),
  ...
)

Arguments

data

Data.frame in which to find column names.

input, output

Input and output columns.

colors

Colors to pass to colorRampPalette.

...

Any other argument to pass to colorRampPalette.

Examples

df <- data.frame(val = 1:10)

e_color_range(df, val, colors)

[Package echarts4r version 0.4.5 Index]