Not usually called directly. Included in boot_predict
. Usually used in combination with A function that takes the output from summary_factorlist(...,
fit_id=TRUE)
and merges with any number of model dataframes, usually
produced with a model wrapper followed by the fit2df()
function
(see examples).
boot_compare(
bs.out,
confint_level = 0.95,
confint_sep = " to ",
comparison = "difference",
condense = TRUE,
compare_name = NULL,
digits = c(2, 3),
ref_symbol = 1
)
Output from boot::boot
,
The confidence level to use for the confidence interval. Must be strictly greater than 0 and less than 1. Defaults to 0.95, which corresponds to a 95 percent confidence interval.
String separating lower and upper confidence interval
Either "difference" or "ratio".
Logical. FALSE gives numeric values, usually for plotting. TRUE gives table for final output.
Name to be given to comparison metric.
Rounding for estimate values and p-values, default c(2,3).
Reference level symbol
A dataframe of first differences or ratios for boostrapped distributions of a metric of interest.
finalfit
predict functions
# See boot_predict.