Graphics Reference
In-Depth Information
Figure 13-1. A correlation matrix
Discussion
The
corrplot()
function has many, many options. Here is an example of how to make a cor-
relation matrix with colored squares and black labels, rotated 45 degrees along the top (
Fig-
corrplot(mcor, method
=
"shade"
, shade.col
=
NNA
, tl.col
=
"black"
, tl.srt
=
45
)