Pro Tip: A quick test is to see if the log transformation increases the magnitude of the correlation between “TotalCharges” and “Churn”. We’ll use a few
dplyroperations along with the
corrrpackage to perform a quick correlation.
correlate(): Performs tidy correlations on numeric data
focus(): Similar to
select(). Takes columns and focuses on only the rows/columns of importance.
fashion(): Makes the formatting aesthetically easier to read.
This is a very useful tutorial.