November 2018
Beginner to intermediate
420 pages
10h 4m
English
As noted earlier, there are several facilities in R for summarizing data, both in base R, as well as through multiple R packages.
Using plotting functionalities such as correlograms and trellis plots, users can visualize the data in a holistic or homogeneous view.
For plotting the correlogram, we'll use the R package, ggcorrplot, as follows:
install.packages("ggcorrplot")
hcorr <- cor(na.omit(Hartnagel))
ggcorrplot(hcorr,hc.order = T, ggtheme = theme_bw, insig="blank", colors = brewer.pal(11,"RdYlGn")[c(1,6,11)])
The output is as follows:

Variables that are more closely correlated are in a darker green shade relative to the ...
Read now
Unlock full access