Description Usage Arguments Value
Extracts useful information from a coxph/summary.coxph into a data frame which is ready for printing or further analysis
1 2 3 4 5 6 | cox_as_data_frame(
coxphsummary,
unmangle_dict = NULL,
factor_id_sep = ":",
sort_by = NULL
)
|
coxphsummary |
The summary.coxph or coxph result object |
unmangle_dict |
An unmangle dict of mangled column name -> readable column name (as created by analyse_multivariate) |
factor_id_sep |
The frame contains one column "factor.id" which is a composite of covariate name and, if categorical, the factor level (one line for each factor level except for the reference level) |
sort_by |
A vars() list of one or more symbolic column names. This frame contains the variables "Lower_CI", "HR", "Upper_CI", "Inv_Lower_CI", "Inv_HR", "Inv_Upper_CI", "p". You can choose to sort by any combination. Use desc() to sort a variable in descending order. |
A tibble.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.