imp<-mice(mydata,m=5,method="rf")
There were 50 or more warnings (use warnings() to see the first 50)
警告信息:
1: In randomForest.default(x = xobs, y = yobs, ntree = 1, ... :
The response has five or fewer unique values. Are you sure you want to do regression?
2: In randomForest.default(x = xobs, y = yobs, ntree = 1, ... :
The response has five or fewer unique values. Are you sure you want to do regression?
我的因变量有二分类变量和数值变量