output-formatting | R Documentation |
These functions are simple wrappers around paste
and
nmbr
to format results for printing.
mean_sd(mean, sd, prefix = "", suffix = "", ..., format_paren = TRUE)
n_percent(
n,
proportion,
accuracy = 1,
scale = 1,
prefix = "",
suffix = "",
percent = "%",
...,
format_paren = TRUE
)
est_ci(
est,
low,
high,
p,
prefix = "",
suffix = "",
...,
.sep = " to ",
format_paren = TRUE,
stars = TRUE,
levels = c(`*` = 0.1, `**` = 0.05, `***` = 0.01),
accuracy_p = 1e-04,
min_p = accuracy_p,
add_p = TRUE
)
coef_se(
coef,
se,
p,
prefix = "",
suffix = "",
...,
stars = TRUE,
levels = c(`*` = 0.1, `**` = 0.05, `***` = 0.01),
accuracy_p = 1e-04,
min_p = accuracy_p,
add_p = TRUE
)
mean, sd, n, proportion, est, low, high, coef, se, p |
Numeric vectors. If
|
format_paren |
Logical scalar. Should the values inside parentheses include the specified prefix and suffix formatters? |
accuracy, scale, prefix, suffix, percent, ... |
Passed to |
.sep |
Separator between lower and upper bounds of the CI; default is
|
stars |
Logical scalar. Should significance stars ( |
levels |
Passed to |
accuracy_p, min_p, add_p |
Passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.