Correlation Visualization

Introduction to visualization with correlation

## load packages: GGally and corrplot

## create correlation matrix on mtcars, store in a variable

## create correlogram with corrplot

## modify the method argument ("circle", "color", "number") and the type argument ("upper")

## create correlogram with ggpairs

## create correlogram on demographic data here: https://gitlab.com/mhaffner/data/-/raw/master/demo-data.csv
## using a function of your choice

End-to-end correlation example

## load packages

## read dataset: https://gitlab.com/mhaffner/data/-/raw/master/migration-survey.csv

## select three variables of interest

## assess correlation assumptions

## data profiling

## visualization/correlation

## correlation tests