plotpairs | R Documentation |
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
df <- data.frame(a = 1:10, b = 1:10 + rnorm(10), c = 1:10 + rnorm(10))
plotpairs(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.