Correlation is a good technique to use on your dataset. Correlation helps us to establish basic relationships between data items.
In this chapter, we look at tools available in R for correlation:
In R, there are several packages that provide the correlation functionality to the programmer. We will be using the following packages in this chapter:
corrgram: This is the tool to graphically display correlations
Hmisc: This contains a variety of miscellaneous R functions
polycor: This contains functions to compute polychoric correlations