View source: R/results-table_results.R
conf_int | R Documentation |
Creates 'APA'-formatted confidence intervals, either from an object for which
a method exists, or from the arguments lb
and ub
. When argument
x
is a numeric vector, it is also possible to construct a confidence
interval using the standard error (se
) and a percentile interval
(ci
).
conf_int(x, digits = 2, se = NULL, lb = NULL, ub = NULL, ci = 95)
x |
Optional. An object for which a method exists. |
digits |
Integer. The number of digits to round the confidence boundaries to. |
se |
Optional, numeric. Standard error of the parameters. |
lb |
Optional, numeric. Lower boundary of confidence intervals. |
ub |
Optional, numeric. Upper boundary of confidence intervals. |
ci |
Optional, numeric. What percentage CI to use (only used when
computing CI from a numeric vector |
A character vector of formatted confidence intervals.
Caspar J. van Lissa
table_results est_sig
Other Reporting tools:
est_sig()
,
table_fit()
,
table_prob()
,
table_results()
conf_int(x = c(1.325, 2.432), se = c(.05336, .00325))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.