R/finalfit_internal_functions.R
condense_fit.Rd
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 = "-"
)
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).
Name for this column in output
Name for this column in output
Appeneded to estimate name
Name given to p-value estimate
Number of digits to round to (1) estimate, (2) confidence interval limits, (3) p-value.
String to separate confidence intervals, typically "-" or " to ".