Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 = NULL, ...)

Arguments

x

Object of class pec

times

Time points at which to show the values of the prediction error curve(s)

digits

Number of decimals used in tables.

what

What estimate of the prediction error curve to show. Should be a string matching an element of x. The default is determined by splitMethod.

...

Not used

print

Set to FALSE to suppress printing.

Value

The first argument in the invisible cloak.

Author(s)

Thomas A. Gerds tag@biostat.ku.dk

See Also


pec

Prediction Error Curves for Risk Prediction Models in Survival Analysis

v2020.11.17
GPL (>= 2)
Authors
Thomas A. Gerds
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.