powered by
extract_proximity(fit, newdata)
fit
extract_proximity
plot_prox
library(randomForest) fit <- randomForest(hp ~ ., mtcars, proximity = TRUE) extract_proximity(fit) fit <- randomForest(Species ~ ., iris, proximity = TRUE) extract_proximity(fit)
Run the code above in your browser using DataLab