Skip to content

Instantly share code, notes, and snippets.

@kr-shiveshwar
Created January 7, 2017 19:15
Show Gist options
  • Save kr-shiveshwar/8c23ead976d1a207502af48e7160ed2d to your computer and use it in GitHub Desktop.
Save kr-shiveshwar/8c23ead976d1a207502af48e7160ed2d to your computer and use it in GitHub Desktop.
Data Visualization
#####################################
# 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