Re: [R] Correlograms and linear regression

2010-08-19 Thread Kevin Wright
Just define your own panel function. Here I modified the panel.ellipse function and called it panel.lm library(corrgram) data(baseball) vars2 <- c("Assists","Atbat","Errors","Hits","Homer","logSal", "Putouts","RBI","Runs","Walks","Years") panel.lm <- function(x, y, ...){ dfn <-

[R] Correlograms and linear regression

2010-08-19 Thread ashz
Dear all, I generated a Correlograms and used the panel.ellipse (confidence ellipse and smoothed line) option. Is there a way to get instead of the smoothed line the linear regression? Thanks, As hz -- View this message in context: http://r.789695.n4.nabble.com/Correlograms-and-linear-regre