| print.gg | R Documentation |
Each print.gg_*() method prints a one-line header: the class label
and, where the forest recorded it, provenance (source package, family,
ntree, n). It returns the object invisibly, so print() sits cleanly
in a pipe.
## S3 method for class 'gg_error'
print(x, ...)
## S3 method for class 'gg_vimp'
print(x, ...)
## S3 method for class 'gg_rfsrc'
print(x, ...)
## S3 method for class 'gg_variable'
print(x, ...)
## S3 method for class 'gg_partial'
print(x, ...)
## S3 method for class 'gg_partial_rfsrc'
print(x, ...)
## S3 method for class 'gg_partialpro'
print(x, ...)
## S3 method for class 'gg_partial_varpro'
print(x, ...)
## S3 method for class 'gg_roc'
print(x, ...)
## S3 method for class 'gg_survival'
print(x, ...)
## S3 method for class 'gg_brier'
print(x, ...)
## S3 method for class 'gg_udependent'
print(x, ...)
## S3 method for class 'summary.gg_udependent'
print(x, ...)
## S3 method for class 'gg_varpro'
print(x, ...)
## S3 method for class 'gg_isopro'
print(x, ...)
## S3 method for class 'gg_beta_varpro'
print(x, ...)
## S3 method for class 'gg_ivarpro'
print(x, ...)
x |
A |
... |
Not currently used. |
To see the rows themselves, use head(); for per-class diagnostics,
use summary.gg.
The object x, invisibly.
summary.gg, autoplot.gg
set.seed(42)
airq <- na.omit(airquality)
rf <- randomForestSRC::rfsrc(Ozone ~ ., data = airq, ntree = 50)
print(gg_error(rf))
print(gg_vimp(rf))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.