Function to create dataClasses argument in hc_colorAxis
color_classes(breaks = NULL, colors = c("#440154", "#21908C", "#FDE725"))
A numeric vector
A character string of colors (ordered)
color_classes(c(0, 10, 20, 50))
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.