hdr.den plot colors help
Hello, It's not your first post, you should know to say from which package is the function you're using. As for the question the answer is no, those values are hard coded in the source. What you can do is to download the source and change file hdr.den.R Hope this helps, Rui Barradas Em 21-06-2013 16:07, Andras Farkas escreveu:
Dear All, I have the following code: a <-rnorm(5000,10,2) hdr.den(a,prob = c(25, 50, 75,95)) is there a way to change the colors of the horizontal bars representing the given highest density regions from the current white, green, red and black to colors of the shades of grey going from lighter to darker? appreciate the help, thanks, Andras
______________________________________________ R-help at 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.