plot pair-wise correlations. in: a dataframe. out: a figure.
plotpairs(data, lower.panel = c(panel.lm, panel.smooth)[[1]], upper.panel = panel.cor, diag.panel = panel.diag, lwd = 2, col = "grey", labels = names(data), cex.labels = 4)
data | a dataframe |
---|---|
lower.panel | can be panel.lm or panel.smooth |
upper.panel | panel.cor |
diag.panel | panel.diag |
lwd | numeric |
col | colors |
labels | character |
cex.labels | character |
a pair plot