Where print gives you a one-line header, summary digs a level
deeper. Each summary.gg_*() method returns a summary.gg
object: a header line plus a few diagnostic statistics for that object
type (the OOB error curve, the top VIMP variables, a time range, the
integrated CRPS, and so on). print.summary.gg() renders it to the
console.
# S3 method for gg_beta_uvarpro
summary(object, ...)# S3 method for gg_sdependent
summary(object, ...)
# S3 method for summary.gg
print(x, ...)
# S3 method for gg_error
summary(object, ...)
# S3 method for gg_vimp
summary(object, ...)
# S3 method for gg_rfsrc
summary(object, ...)
# S3 method for gg_variable
summary(object, ...)
# S3 method for gg_partial
summary(object, ...)
# S3 method for gg_partial_rfsrc
summary(object, ...)
# S3 method for gg_partialpro
summary(object, ...)
# S3 method for gg_partial_varpro
summary(object, ...)
# S3 method for gg_roc
summary(object, ...)
# S3 method for gg_survival
summary(object, ...)
# S3 method for gg_varpro
summary(object, ...)
# S3 method for gg_udependent
summary(object, ...)
# S3 method for gg_brier
summary(object, ...)
# S3 method for gg_rhf
summary(object, ...)
# S3 method for gg_tune_rhf
summary(object, ...)
# S3 method for gg_rhf_importance
summary(object, ...)
# S3 method for gg_isopro
summary(object, ...)
# S3 method for gg_beta_varpro
summary(object, ...)
# S3 method for gg_ivarpro
summary(object, ...)
# S3 method for gg_auct
summary(object, ...)
# S3 method for gg_shap
summary(object, ...)
# S3 method for gg_ale_rfsrc
summary(object, ...)
# S3 method for gg_ale_interaction
summary(object, ...)
A summary.gg object: a list with header and
body character vectors. print.summary.gg returns it
invisibly.
A gg_* data object.
Not currently used.
A summary.gg object (for print.summary.gg).
print.gg, autoplot.gg
set.seed(42)
airq <- na.omit(airquality)
rf <- randomForestSRC::rfsrc(Ozone ~ ., data = airq, ntree = 50)
summary(gg_error(rf))
summary(gg_vimp(rf))
Run the code above in your browser using DataLab