IC_RR_coxph: RR and their confidence intervals for Cox models

View source: R/IC_RR_coxph.r

IC_RR_coxphR Documentation

RR and their confidence intervals for Cox models

Description

Computess risk ratios and their confidence intervals for Cox models

Usage

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

Value

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

Author(s)

Hugo Varet

Examples

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

packHV documentation built on April 4, 2025, 12:28 a.m.