Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

ggRandomForests (version 1.1.0)

print.gg_minimal_depth: Print a gg_minimal_depth object.

Description

Print a gg_minimal_depth object.

Usage

## S3 method for class 'gg_minimal_depth':
print(x, ...)

Arguments

x
...
optional arguments

Examples

Run this code
## ------------------------------------------------------------
## classification example
## ------------------------------------------------------------
## You can build a randomForest
# iris_rf <- rfsrc(Species ~ ., data = iris)
# iris_vs <- var.select(iris_rf)
# ... or load a cached randomForestSRC object
data(iris_vs, package="ggRandomForests")

# Get a data.frame containing minimaldepth measures
ggrf_md<- gg_minimal_depth(iris_vs)
print(ggrf_md)

## ------------------------------------------------------------
## regression example
## ------------------------------------------------------------
# ... or load a cached randomForestSRC object
data(airq_vs, package="ggRandomForests")

# Get a data.frame containing minimaldepth measures
ggrf_md<- gg_minimal_depth(airq_vs)
print(ggrf_md)

# To nicely print a rfsrc::var.select output...
print.gg_minimal_depth(airq_vs)

Run the code above in your browser using DataLab