IC_RR_coxph function

RR and their confidence intervals for Cox models

RR and their confidence intervals for Cox models

Computess risk ratios and their confidence intervals for Cox models

IC_RR_coxph(model, alpha = 0.05, sided = 2)

Arguments

  • model: a coxph object
  • alpha: type I error, 0.05 by default
  • sided: 1 or 2 for one or two-sided

Returns

A matrix with the estimaed coefficients of the Cox model, their s.e., z-values, p-values, RR and CI of the RR

Examples

cgd$time=cgd$tstop-cgd$tstart IC_RR_coxph(coxph(Surv(time,status)~sex+age,data=cgd),alpha=0.05,sided=1)

Author(s)

Hugo Varet

  • Maintainer: Hugo Varet
  • License: GPL (>= 2)
  • Last published: 2025-03-24

Useful links