# NOT RUN {
data(symb.metab)
rf <- randomForest(type ~ ., symb.metab, proximity = TRUE)
# With confidence ellipses
proximityPlot(rf)
# With convex hulls
proximityPlot(rf, group.type = "hull")
# With contours
proximityPlot(rf, group.type = "contour")
# Remove the points and just show ellipses
proximityPlot(rf, point.size = NULL, circle.size = NULL, group.alpha = 0.5)
# Labels instead of a legend
proximityPlot(rf, legend.type = "label", point.size = NULL, circle.size = NULL, group.alpha = 0.5)
# }
Run the code above in your browser using DataLab