print.pre | R Documentation |
print.pre
prints information about the generated prediction rule
ensemble to the command line
## S3 method for class 'pre'
print(x, penalty.par.val = "lambda.1se", digits = getOption("digits"), ...)
x |
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 function cvpre
to
obtain a more realistic estimate of future prediction error.
Prints information about the fitted prediction rule ensemble.
pre
, summary.pre
, plot.pre
,
coef.pre
, importance.pre
, predict.pre
,
interact
, cvpre
set.seed(42)
airq.ens <- pre(Ozone ~ ., data = airquality[complete.cases(airquality),])
print(airq.ens)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.