Graphics Reference
In-Depth Information
# Generate a lighter palette
col
<-
colorRampPalette(c(
"#BB4444"
,
"#EE9988"
,
"#FFFFFF"
,
"#77AADD"
,
"#4477AA"
))
corrplot(mcor, method
=
"shade"
, shade.col
=
NNA
, tl.col
=
"black"
, tl.srt
=
45
,
col
=
col(
200
), addCoef.col
=
"black"
, addcolorlabel
=
"no"
, order
=
"AOE"
)
Figure 13-3. Correlation matrix with correlation coefficients and no legend
Like many other standalone graphing functions,
corrplot()
has its own menagerie of options,
which can't all be illustrated here.
Table 13-1
lists some useful options.