set_scatter_colors: Change default colors of the scatter plots from the package.

Description Usage Arguments Value Examples

View source: R/env_functions.R

Description

Customize your scatter plots and change default color palette.

Usage

1
set_scatter_colors(new_scatter_colors)

Arguments

new_scatter_colors

vector of the length of 6 containing rgb values of chosen colors in format: "rgb(x,y,z)"

Value

No return value, called for side effects.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
mi2lab_scatter_colors <- c(
   "rgb(68, 19, 71)",
   "rgb(243, 46, 255)",
   "rgb(106, 0, 112)",
   "rgb(217, 43, 227)" ,
   "rgb(114, 49, 117)",
   "rgb(249, 110, 255)"
 )

set_scatter_colors(mi2lab_scatter_colors)

tidycharts documentation built on Jan. 18, 2022, 5:07 p.m.