library(survival)tbl_uv_ex2<-tbl_uvregression(trial[c("ttdeath","death","age","grade","response")],#构建分析列表method=coxph,#生存分析的函数y=Surv(ttdeath,death),#构建生存对象exponentiate=TRUE,pvalue_fun=function(x)style_pvalue(x,digits=2)# P值保留两位小数);tbl_uv_ex2# } ...
(digits = 2)) ``` ## Advanced Customization {#advanced} *The information in this section applies to all {gtsummary} objects.* The {gtsummary} table has two important internal objects: ```{r, echo = FALSE} dplyr::tribble( ~`Internal Object`, ~Description, "`.$table_body`", "data ...
extra_float_digits interval_forbid_composite_literals json_serialization_enable json_serialization_parse_nested_strings max_concurrency_scaling_clusters max_cursor_result_set_size mv_enable_aqmv_for_session navigate_super_null_on_error parse_super_null_on_error pg_federation_repeatable_read query_group ...
Real and complex numbers calculated to 14-digit accuracy and displayed with 10 digits plus a 2-digit exponent. Graphs 10 rectangular functions, 6 parametric expressions, 6 polar expressions, and 3 recursively-defined sequences. Up to 10 graphing functions defined, saved, graphed...
tbl_regression() Turns a regression model object into a customized, formatted table. tbl_survfit() Turns a survfit object into a customized table with time-to-event estimates. tbl_summary() Basic code trial %>% select(trt,age,grade,response))%>% tbl_summary() Basic table tbl_svysummary...
extra_float_digits interval_forbid_composite_literals json_serialization_enable json_serialization_parse_nested_strings max_concurrency_scaling_clusters max_cursor_result_set_size mv_enable_aqmv_for_session navigate_super_null_on_error parse_super_null_on_error pg_federation_repeatable_read query_group ...