R/tmPalette.R

Defines functions tmPalette

tmPalette <- function(name, n) {
    colorRampPalette(brewer.pal(brewer.pal.info[name,]$maxcolors, name))(n)
}

Try the TextMiningGUI package in your browser

Any scripts or data that you put into this service are public.

TextMiningGUI documentation built on April 17, 2021, 5:09 p.m.