I trained a random forest:
model <- randomForest(x, y, proximity=TRUE)
When I want to predict y for new objects, I use
y_pred <- predict(model, xnew)
How can I calculate the proximity between the new objects (xnew) and the training set (x) based on the already existing forest (model)? The proximity option in the predict function gives only the proxmities among the new objects (xnew). I could run randomForest unsupervised again on a combined data set (x and xnew) to get the proximities, but I think there must be some way to avoid building the forest again and instead using the already existing one.
Thanks! Kilian