Description Usage Arguments Author(s) Examples
View source: R/corrplot.mixed.R
Using mixed methods to visualize a correlation matrix.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
corr |
Matrix, the correlation matrix to visualize. |
lower |
Character, the visualization method for the lower triangular correlation matrix. |
upper |
Character, the visualization method for the upper triangular correlation matrix. |
tl.pos |
Character, |
diag |
Character, for specifying the glyph on the principal diagonal. It
is one of |
bg |
The background color. |
addgrid.col |
See the |
lower.col |
Passed as |
upper.col |
Passed as |
plotCI |
See the |
mar |
See |
... |
Additional arguments for corrplot's wrappers |
Taiyun Wei
1 2 3 4 5 6 7 8 9 10 11 12 13 | M = cor(mtcars)
ord = corrMatOrder(M, order = 'AOE')
M2 = M[ord, ord]
corrplot.mixed(M2)
corrplot.mixed(M2, lower = 'ellipse', upper = 'circle')
corrplot.mixed(M2, lower = 'square', upper = 'circle')
corrplot.mixed(M2, lower = 'shade', upper = 'circle')
corrplot.mixed(M2, tl.pos = 'lt')
corrplot.mixed(M2, tl.pos = 'lt', diag = 'u')
corrplot.mixed(M2, tl.pos = 'lt', diag = 'l')
corrplot.mixed(M2, tl.pos = 'n')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.