Re: [R] Correlograms: using boxes and different variables on rows and columns

2012-05-25 Thread Kevin Wright
In general, when you have a question about a package, it is best to contact the package author directly. (In this case, me). 1. Easy. You just have to define your own panel function. I just modified panel.shade to create panel.bar panel.bar <- function(x, y, corr=NULL, ...){ usr <- par()$us

[R] Correlograms: using boxes and different variables on rows and columns

2012-05-25 Thread dadrivr
I'm trying to make correlograms using corrgram. See below for a simple example. library(corrgram) data(baseball) vars1 <- c("Assists","Atbat","Errors","Hits","Homer","logSal") vars2 <- c("Putouts","RBI","Runs","Walks","Years") corrgram(baseball[,vars2],lower.panel=panel.shade, upper.panel=