View source: R/corrplot.mixed.R
corrplot.mixed | R Documentation |
Using mixed methods to visualize a correlation matrix.
corrplot.mixed(
corr,
lower = "number",
upper = "circle",
tl.pos = c("d", "lt", "n"),
diag = c("n", "l", "u"),
bg = "white",
addgrid.col = "grey",
lower.col = NULL,
upper.col = NULL,
plotCI = c("n", "square", "circle", "rect"),
mar = c(0, 0, 0, 0),
...
)
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
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.