modelsSummaryTable: Makes flextable summarizing list of models

View source: R/modelsSummary.R

modelsSummaryTableR Documentation

Makes flextable summarizing list of models

Description

Makes flextable summarizing list of models

Usage

modelsSummaryTable(fitlist, labels = NULL, show.lik = FALSE)

Arguments

fitlist

A list of objects of class "coxph"

labels

character labels of models

show.lik

logical Whether or not show likelihood test results

Value

A flextable

Examples

library(survival)
fit1=coxph(Surv(time,status) ~rx,data=anderson)
fit2=coxph(Surv(time,status) ~rx+logWBC,data=anderson)
fit3=coxph(Surv(time,status) ~rx*logWBC,data=anderson)
fitlist=list(fit1,fit2,fit3)
modelsSummaryTable(fitlist)

autoReg documentation built on Nov. 14, 2023, 9:07 a.m.