Description Usage Arguments Value Author(s)
View source: R/report_estimate.R
Format in-text the reporting of confidence intervals or p-values around an estimate.
1 2 3 4 5 6 7 8 | report_estimate(
symbol = "$\beta$",
estimate = NULL,
std_error = NULL,
threshold = 0.05,
digits = 3,
statistics = c("cf", "ci", "pv")
)
|
symbol |
Character. Name or identifier of the coefficient. |
estimate |
Numeric. Estimate of the coefficient. |
std_error |
Numeric. Standard error around the estimate. |
threshold |
Numeric. Probability of 0 contained in the confidence interval (e.g. 0.05 for a 95% confidence interval). |
digits |
Integer. Number of digits for rounding. |
statistics |
Character vector. Statistics to report: "cf" for the coefficient, "ci" for the confidence internal, "pv" for the p-value. |
Character with specified statistics between parentheses.
Nicolas Mangin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.