Created
January 7, 2017 19:15
-
-
Save kr-shiveshwar/8c23ead976d1a207502af48e7160ed2d to your computer and use it in GitHub Desktop.
Data Visualization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##################################### | |
# BiVariate Analysis # | |
##################################### | |
qplot(income,age,data = Telecom_train,geom=c("point", "smooth"),color=churn) | |
qplot(income,data = Telecom_train,geom="density") | |
#as the data is skewed we will perform log transformation | |
qplot(log(income),data = Telecom_train,geom="density") | |
qplot(log(income),age,data = Telecom_train,geom=c("point", "smooth"),color=churn) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment