## ------------------------------------------------------------
## classification example
## ------------------------------------------------------------
## You can build a randomForest
# iris_rf <- rfsrc(Species ~ ., data = iris)
# ... or load a cached randomForestSRC object
data(iris_rf, package="ggRandomForests")
# Get a data.frame containing minimaldepth measures
gg_dta<- gg_error(iris_rf)
print(gg_dta)
## ------------------------------------------------------------
## regression example
## ------------------------------------------------------------
data(airq_rf, package="ggRandomForests")
# Get a data.frame containing minimaldepth measures
gg_dta<- gg_error(airq_rf)
print(gg_dta)
Run the code above in your browser using DataLab