Condense model output dataframe for final tables
Internal function, not called directly. Can only be used in conjunction with extract_fit
condense_fit(.data, explanatory_name = "explanatory", estimate_name = NA, estimate_suffix = "", p_name = "p", digits = c(2, 2, 3), confint_sep = "-")
.data |
Dataframe of four or five columns, must be this order, (1) explanatory variable names, (2) estimate, (3) confidence interval lower limit, (4) confidence interval upper limit, (5) p-value (optional). |
explanatory_name |
Name for this column in output |
estimate_name |
Name for this column in output |
estimate_suffix |
Appeneded to estimate name |
p_name |
Name given to p-value estimate |
digits |
Number of digits to round to (1) estimate, (2) confidence interval limits, (3) p-value. |
confint_sep |
String to separate confidence intervals, typically "-" or " to ". |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.