fmt_uni_regression
objects.modify_header.fmt_uni_regression.Rd
If the top row of a header column is blank,
you may experience printing issues when using knitr
::kable
# S3 method for fmt_uni_regression modify_header(x, label = NULL, N = NULL, est = NULL, ci = NULL, pvalue = NULL, ...)
x |
|
---|---|
label | string vector including text to appear above the label column |
N | string vector including text to appear above the N column |
est | string vector including text to appear above the estimate/coefficient column |
ci | string vector including text to appear above the confidence interval column |
pvalue | string vector including text to appear above the p-value column |
... | further arguments passed to or from other methods |
fmt_uni_regression( trial, method = "glm", y = "response", method.args = list(family = binomial), exponentiate = TRUE ) %>% modify_header(label = "Characteristic")#> #> Characteristic N OR 95% CI p-value #> Treatment Randomization 191 #> Drug Ref. #> Placebo 0.47 0.26, 0.84 0.012 #> Age, yrs 183 1.00 0.98, 1.02 >0.9 #> Marker Level, ng/mL 183 0.92 0.65, 1.30 0.6 #> T Stage 191 #> T1 Ref. #> T2 1.40 0.63, 3.14 0.4 #> T3 0.63 0.26, 1.50 0.3 #> T4 0.50 0.22, 1.11 0.089 #> Grade 191 #> I Ref. #> II 0.60 0.29, 1.25 0.2 #> III 0.76 0.38, 1.51 0.4