cols(
.default = col_character(),
X1 = col_double(),
MonthlyCharges = col_double(),
TotalCharges = col_double()
)
i Use spec()
for the full column specifications.
Warning message:
Missing column names filled in: 'X1' [1]
View(MIS470Telcocustomer)
intrain- createDataPartition(YOURDATA$Churn,p=0.7,list=FALSE)
Error: object 'intrain' not found
set.seed(2017)
training- YOURDATA[intrain,]
Error: object 'training' not found
testing- YOURDATA[-intrain,]