search for: uniqueitem

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

Did you mean: uniqueitems
2005 Aug 26
2
problem with certain data sets when using randomForest
..."versicolor", so I think the only way #to solve this problem is by changing the levels the #"Species" have to only "setosa" and "virginica", # correct me if I'm wrong. # So I tried to change the levels but I got stuck: # get the possible unique classes uniqueItems <- unique(levels(finaldataset$Species)) # the problem! newlevels <- list(uniqueItems[1] = c(uniqueItems[1], uniqueItems[2]), uniqueItems[3] = uniqueItems[3]) # Error message Error: syntax error # In the help they use constant names to rename the #levels, so this works (but that's not...