Using Caret Package but Getting Error in library(e1071)

后端 未结 2 1469
既然无缘
既然无缘 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 19:05

    If you will be using the caret package regularly try:

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

    This will automatically download package e1071 as well as ellipse and many other package dependancies that arise in using caret

    for more information please check out the CRAN package page for caret here caret package info

提交回复
热议问题