This bug has been fixed.

Kevin


On Tue, Jun 28, 2011 at 6:11 AM, Niels Janssen <njanssen@ull.es> wrote:

> Dear list,
>
> I have a problem with the "corrgram" function. It does not seem to "color"
> large negative correlations, while the same correlation, if positive,
> provides no problems. Is this a bug?
>
>        require(corrgram)
>        a = seq(1,100)
>        b = -jitter(seq(1,100), 80)
>        cor(a,b) # r about -.96
>        c=as.data.frame(cbind(a,b))
>        corrgram(c, order=NULL, lower.panel=panel.pie,upper.**panel=NULL,
> text.panel=panel.txt) # no color
>
>        c$b = -1*c$b # flip direction of correlation
>        cor(c$a, c$b) # r now about +.96
>        corrgram(c, order=NULL, lower.panel=panel.pie,upper.**panel=NULL,
> text.panel=panel.txt) #no problem with color.
>
> Thanks!
>
> ______________________________**________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
> PLEASE do read the posting guide http://www.R-project.org/**
> posting-guide.html <http://www.R-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

