| summary.gg | R Documentation |
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 class 'summary.gg'
print(x, ...)
## S3 method for class 'gg_error'
summary(object, ...)
## S3 method for class 'gg_vimp'
summary(object, ...)
## S3 method for class 'gg_rfsrc'
summary(object, ...)
## S3 method for class 'gg_variable'
summary(object, ...)
## S3 method for class 'gg_partial'
summary(object, ...)
## S3 method for class 'gg_partial_rfsrc'
summary(object, ...)
## S3 method for class 'gg_partialpro'
summary(object, ...)
## S3 method for class 'gg_partial_varpro'
summary(object, ...)
## S3 method for class 'gg_roc'
summary(object, ...)
## S3 method for class 'gg_survival'
summary(object, ...)
## S3 method for class 'gg_varpro'
summary(object, ...)
## S3 method for class 'gg_udependent'
summary(object, ...)
## S3 method for class 'gg_brier'
summary(object, ...)
## S3 method for class 'gg_isopro'
summary(object, ...)
## S3 method for class 'gg_beta_varpro'
summary(object, ...)
## S3 method for class 'gg_ivarpro'
summary(object, ...)
x |
A |
... |
Not currently used. |
object |
A |
A summary.gg object: a list with header and
body character vectors. print.summary.gg returns it
invisibly.
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.