Using Caret Package but Getting Error in library(e1071)

后端 未结 2 1487
既然无缘
既然无缘 2020-12-30 18:11

Here are my codes, pretty standard but I am getting the error msg:

library(caret)
set.seed(32343)
modelFit = train(type~.,data=training, method=\'glm\')
         


        
2条回答
  •  难免孤独
    2020-12-30 18:47

    You need to install the package e1071, as the error message is telling you.

    install.packages('e1071', dependencies=TRUE)
    

提交回复
热议问题