Hi Ross,

If you really need 15 colors, maybe you can use the Set3 palette provided by RColorBrewer (this is the one used by TraMineR up to 12 states) and add yourself 3 more colors ?

For example (you can mix the hexadecimal color numbers from the RColorBrewer palette and real color names in the same vector) :

library(RColorBrewer)
mycolors <- brewer.pal(12,"Set3")
mycolors <- c(mycolors, "blue", "green", "yellow")

All the best,
Alexis.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to