[R] hdr.den plot colors help
ruipbarradas at sapo.pt
Fri Jun 21 17:51:36 CEST 2013
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,
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,
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help