)
> palette(default.colors) # Restore the default palette
You could also change the magenta and cyan colors the same way.
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77840-4352
-Original Message-
From
Rui,
package is hdrcde, and thanks for the input,
Andras
--- On Fri, 6/21/13, Rui Barradas wrote:
> From: Rui Barradas
> Subject: Re: [R] hdr.den plot colors help
> To: "Andras Farkas"
> Cc: r-help@r-project.org
> Date: Friday, June 21, 2013, 11:51 AM
> Hello,
&
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
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
4 matches
Mail list logo