Plot a correlation matrix with scatterplots, correlation coefficients and colors.
1 2 3 |
tab |
a dataframe. Contain the variable whose correlation is of interest. |
method |
among |
formatCor |
a function. Applied to a |
colCor |
a function. Applied to a |
... |
additional arguments passed to |
Displays a matrix plot where the diagonal contains the variable names, the lower triangle displays scatterplots between the variables and the upper triangle correlation coefficients with colors corresponding the the magnitude of the correlation.
Nothing of interest.
Antoine Filipovic Pierucci
1 2 3 4 5 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.