Description Usage Arguments Value Examples
plot pair-wise correlations with p value. in: a dataframe. out: a figure.
1 2 | plotpairs2(data, lower.panel = panel.smooth, upper.panel = panel.cor,
diag.panel = panel.diag, lwd = 2, col = "grey", labels = "", 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
1 2 | df <- data.frame(a = 1:10, b = 1:10 + rnorm(10), c = 1:10 + rnorm(10))
plotpairs2(df)
|
[1] "p<0.01"
[1] "p<0.01"
[1] "p<0.01"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.