Description Usage Arguments Details Value Examples
View source: R/table_results.coxph.R
This version creates a publishable results table from a Cox regression run using the 'survival::coxph' function. Features include:
1 | table_results.coxph(mod, lbls = NULL, tidy = F)
|
mod |
A 'coxph' object |
lbls |
An optional named vector providing readable labels for each predictor variable |
tidy |
A boolean (default=F) determining if the output is a tidy tibble or a untidy printable table. Use 'tidy = T' if you want to further manipulate the table, or add other results to this table using joins, for example |
+ Adding the reference class for each categorical predictor + Choosing to report 95 +
A tibble
1 | library(survival)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.