Customer and Marketing Analysis in R

Clean the Environment # Clear environment of variables and functions rm(list = ls(all = TRUE)) # Clear environmet of packages if(is.null(sessionInfo()$otherPkgs) == FALSE)lapply(paste("package:", names(sessionInfo()$otherPkgs), sep=""), detach, character.only = TRUE, unload = TRUE) Load Libraries library(tidyverse) library(dplyr) # joins library(RODBC) # connect to SQL Server library(janitor) # pretty cross-tabs library(kableExtra) # pretty html tables library(formattable) library(gridExtra) … Continue reading Customer and Marketing Analysis in R