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)

Arguments

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

Value

a pair plot

Examples

df <- data.frame(a = 1:10, b = 1:10 + rnorm(10), c = 1:10 + rnorm(10)) plotpairs(df)