summary.pre | R Documentation |
summary.pre
prints information about the generated prediction rule
ensemble to the command line
## S3 method for class 'pre'
summary(
object,
penalty.par.val = "lambda.1se",
digits = getOption("digits"),
...
)
object |
An object of class |
penalty.par.val |
character or numeric. Value of the penalty parameter
|
digits |
Number of decimal places to print |
... |
Further arguments to be passed to |
Note that the cv error is estimated with data that was also used
for learning rules and may be too optimistic. Use cvpre
to
obtain a more realistic estimate of future prediction error.
Prints information about the fitted prediction rule ensemble.
pre
, print.pre
, plot.pre
,
coef.pre
, importance.pre
, predict.pre
,
interact
, cvpre
set.seed(42)
airq.ens <- pre(Ozone ~ ., data = airquality[complete.cases(airquality),])
summary(airq.ens)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.