search for: randompackag

Displaying 1 result from an estimated 1 matches for "randompackag".

Did you mean: randompackage
2012 Apr 18
1
Can I use random Forest package?
Hello R Help, I have a data set with 30 variables, some of these variables are factors while some are numeric. My response variable is binary and I have made sure that this is set as a factor with two levels and given each level a name "Yes" and "No". I would like to run the randomPackage to discover variable importance but when ever I try the following code: model <- randomForest(IsBadBuy~. , data = train, importance=TRUE, keep.forest=TRUE) I am given the response: Error in na.fail.default(list(IsBadBuy = c(1L, 1L, 1L, 2L...