get_cox_estimates: Get inference statistic for a CoxPH model.

View source: R/functions.R

get_cox_estimatesR Documentation

Get inference statistic for a CoxPH model.

Description

Retrieves inference statistic for a Cox proportional hazard model. A wrapper around summary.coxph.

Usage

get_cox_estimates(cox_model, trans_function = identity, ...)

Arguments

cox_model

a CoxpPH model or a coxex object.

trans_function

function used for transformation of the estimates and confidence intervals, identity() by default.

...

extra arguments, currently none.

Value

a data frame with the model estimates, confidence intervals and p values.

References

  • Therneau, T. M. & Grambsch, P. M. Modeling Survival Data: Extending the Cox Model. (Springer Verlag, 2000).


PiotrTymoszuk/coxExtensions documentation built on Feb. 6, 2024, 10:58 p.m.