correlationplot | R Documentation |
Plots correlations based on a data.frame.
correlationplot(x = NULL, stars = T, numbers = T, cex = 0.6, show.legend = F, ...)
x |
Numeric data.frame or matrix containing the vectors whose correlations should be displayed. |
stars |
Logical value indicating whether significant results should be marked with stars. Defaults to T. |
numbers |
Logical value indicating whether correlations should be plotted numerically. Defaults to T. |
cex |
Numerical value specifying the relative size of texts to be displayed. Defaults to .6. |
show.legend |
Logical value indicating whether a legend shoud be displayed. Defaults to F. |
... |
Additional arguments to be passed to psych::cor.plot. |
Plots correlations based on a data.frame.
set.seed(0);correlationPlot(data.frame(x=rnorm(100),y=rnorm(100),z=rnorm(100)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.