
Format Estimates with Significance Stars and Optional Confidence Intervals
Source:R/general_helpers.R
eststar.RdCreates formatted strings combining point estimates, optional confidence intervals, and significance stars from p-values.
Arguments
- est
Numeric vector of point estimates
- pvalue
Numeric vector of p-values
- digits
Number of decimal places for rounding (default: 2)
- na
Character string to return for NA estimates (default: "")
- ci.low
Numeric vector of confidence interval lower bounds (optional)
- ci.hi
Numeric vector of confidence interval upper bounds (optional)