powered by
pairs
c('panel.cor', 'panel.smooth', 'panel.hist')
rp.cor.plot(x, lower.panel = "panel.smooth", upper.panel = "panel.cor", data = NULL, ...)
'panel.smooth'
'panel.cor'
## setting rp.names first df <- mtcars for (i in 1:ncol(df)) attr(df[, i], "name") <- names(df)[i] rp.cor.plot(df) rp.cor.plot(df, diag.panel = 'panel.hist')
Run the code above in your browser using DataLab