to_color: Give all parts of the number with different colors

Description Usage Arguments Value Examples

View source: R/nicenumberrr.R

Description

Give all parts of the number with different colors

Usage

1
to_color(number, colors = c("red", "green", "yellow", "blue"))

Arguments

number

integer

colors

vector of different colors

Value

vector of colored int

Examples

1
to_color(1234567L, c("red", "green", "yellow", "blue"))

UBC-MDS/NiceNumbERRR documentation built on March 30, 2021, 12:02 p.m.