parfm_HRs: Generate Hazard ratio, CI, Pval table from parfm

View source: R/parfm_HRs.R

parfm_HRsR Documentation

Generate Hazard ratio, CI, Pval table from parfm

Description

Generates table with Hazard rate, 95 CI and pval for parfm models fixed effects WIP name extraction via other methods, until then names for models with single predictor will have blank in Name column

Usage

parfm_HRs(fit, pred = NA)

Arguments

fit

model fit by parfm function

pred

Optional Argument for models with single predictor

Value

Tibble with 5 columns: Name (char), HR, 95 CI, p-val (doubles)

Examples

data(kidney)

fit = parfm(Surv(time,status) ~ age + sex + disease,
             cluster = "id", data = kidney,
             dist = "weibull", frailty = "gamma")

parfm_HRs(fit)

Ajfrick/ajfhelpR documentation built on June 30, 2023, 12:56 a.m.