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

R Package for Data Scientist

library(tidyverse) library(sqldf) library(tidyverse) library(dplyr) # joins library(janitor) # pretty cross-tabs library(kableExtra) # pretty html tables library(formattable) library(gridExtra) library(scales) library(pastecs) library(GGally) library(ChannelAttribution) library(markovchain)

Java Sample Code

Java Sample Code import java.io.*; public class Employee{ String name; int age; String designation; double salary; public Employee(String name){ this.name = name; } public void empAge(int empAge){ age = empAge; } public void empDesignation(String empDesig){ designation = empDesig; } public void empSalary(double empSalary){ salary = empSalary; } public void printEmployee(){ System.out.println("Name:"+ name ); System.out.println("Age:" + … Continue reading Java Sample Code