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

Description Usage Arguments Value Examples

View source: R/parfm_HRs.R

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

1
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

1
2
3
4
5
6
7
data(kidney)

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

parfm_HRs(fit)

Ajfrick/AVRCHelp documentation built on Dec. 13, 2018, 6:21 p.m.