vignettes/docs/basics.Rmd
basics.Rmd
This would be one page of your documentation…
library(rpkgs)
data(example) print(example)
## [1] 1 2 5 10 25
cols <- colorize(example) print(cols)
## [1] "#0D0887FF" "#280592FF" "#5D01A6FF" "#A92395FF" "#F0F921FF"
colorize(c(1,2,3))
## [1] "#0D0887FF" "#CC4678FF" "#F0F921FF"
colorize(c(0.1,0.5,2))
## [1] "#0D0887FF" "#6F00A8FF" "#F0F921FF"
visualize(colorize(c(0.1,0.5,2,10,25)), by=50)