Learn R Programming

pec (version 2.2.6)

print.pec: 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. Should be a string matching an element of the object. The default is determined by splitMethod.
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.

See Also

pec