print.predictCox: Print Predictions From a Cox Model

View source: R/print.predictCox.R

print.predictCoxR Documentation

Print Predictions From a Cox Model

Description

Print predictions from a Cox model.

Usage

## S3 method for class '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.


riskRegression documentation built on May 29, 2024, 10:59 a.m.