Would any R expert explain the predic function in the randomforest package to me?
I want to get two prediction results for numberic response variable A and B seperately from following regression
result <-randomforest(A + B ~ C + D + E, data = dataset)
predict(result)
I can get one prediction result. But prediction is neither A nor B. I can get the prediction results for both A and B from Mvpart and party package.
Thanks in advance!
randomForest
package with formula notation, considers one response variable only (factor or numeric). Can you provide more information on the type of variables you have, and what you want to achieve? $\endgroup$