make_pretty_lm_table | R Documentation |
Format a set of numbers to have a certain number of sig figs
make_pretty_lm_table(
dat,
voi,
est = "Estimate",
se = "StdErr",
upper_CI = "97.5 %",
lower_CI = "2.5 %",
p = "Pr(>|t|)",
arrange_by = p,
output = c("se", "CI")
)
dat |
data |
voi |
variable of interest |
est |
effect estimate variable |
se |
SE variable |
upper_CI |
upper confidence interval variable name |
lower_CI |
lower confidence interval variable name |
p |
pvalue variable name |
arrange_by |
variable to arrange output by |
output |
either SE or CI or both in output |
character vector with all numbers formated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.