Learn R Programming

ggRandomForests (version 1.1.2)

print.gg_error: Print a gg_error object.

Description

Print a gg_error object.

Usage

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

Arguments

x
a gg_error object.
...
optional arguments

We use the tble_df command to print gg_error objects because they tend to be long (ntree records long).

See Also

rfsrc tbl_df gg_error

Examples

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

# Get a data.frame containing minimaldepth measures
gg_dta<- gg_error(rfsrc_iris)
print(gg_dta)

## ------------------------------------------------------------
## regression example
## ------------------------------------------------------------
data(rfsrc_airq, package="ggRandomForests")

# Get a data.frame containing minimaldepth measures
gg_dta<- gg_error(rfsrc_airq)
print(gg_dta)

Run the code above in your browser using DataLab