print.pec {pec}R Documentation

Printing a ‘pec’ (prediction error curve) object.

Description

Print the important arguments of call and the prediction error values at selected time points.

Usage

## S3 method for class 'pec':
print(x, times, digits = 3,what, ...)
## S3 method for class 'pec':
summary(object,times,what,models,digits=3,print=TRUE,...)

Arguments

x Object of class pec
object Object of class pec
times Time points at which to show the values of the prediction error curve(s)
what What estimate of the prediction error curve to show. By default the estimate is shown which corresponds to the replan argument in the call to pec. This is is stored in predErr. For replan in c("cvk","bootB0","boot.632","boot.632plus") also the apparent error AppErr is a possible choice. If replan in c("boot.632plus","boot.632","NoInf") then also the out of bag error (OutOfBagErr), the estimated overfit (overfit), and the no-information-error (NoInfErr) are possible choices.
models Which models in the list object$models should be shown. Defaults to all models.
digits Number of decimals used in tables.
print Set to FALSE to suppress printing.
... Not used

Value

The first argument in the invisible cloak.

Author(s)

Thomas A. Gerds tag@biostat.ku.dk

See Also

pec


[Package pec version 1.0.7 Index]