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
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=
2 matches
Mail list logo