I am doing prediction in R
using
model<- train(Label~., data = training, trControl=train_control, method="rf")
Predict_RF <-predict(model, newdata = testing)
How can I do the prediction for all samples? I mean, if I want to do the prediction not only for the test set (doing it even for the samples inside the training set), how I can do that?
Appreciate.