coxph_row | R Documentation |
Cox Proportional Hazards Row
coxph_row(
data_item,
data = NULL,
data_filter = NULL,
row_digits = NULL,
include_reference = TRUE
)
data_item |
item to be taken from data for row |
data |
separate dataset to use |
data_filter |
filter to apply to dataset |
row_digits |
Number of digits to include in the HR |
include_reference |
whether to include a row for the reference level of a factor |
row for inclusion in 'first_table'
library(survival)
first_table(lung,
.column_variable = Surv(time, status),
ECOG = coxph_row(factor(ph.ecog), row_digits = 2)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.