Learn R Programming

riskRegression (version 2022.09.23)

print.predictCox: Print Predictions From a Cox Model

Description

Print predictions from a Cox model.

Usage

# S3 method for predictCox
print(x, digits = 3, ...)

Arguments

x

object obtained with the function predictCox.

digits

[integer, >0] indicating the number of decimal places.

...

Passed to print.

Details

to display confidence intervals/bands, the confint method needs to be applied on the object.

See Also

confint.predictCox to compute confidence intervals/bands. predictCox to compute the predicted cumulative hazard/survival.