This function will convert a linear model object to a dataframe containing statistical details for all effects along with partial eta-squared effect size and its confidence interval.
lm_effsize_ci(object, effsize = "eta", partial = TRUE,
conf.level = 0.95, nboot = 500)
The linear model object (can be of class lm
, aov
, anova
, or
aovlist
).
Character describing the effect size to be displayed: "eta"
(default) or "omega"
.
Logical that decides if partial eta-squared or omega-squared
are returned (Default: TRUE
). If FALSE
, eta-squared or omega-squared
will be returned. Valid only for objects of class lm
, aov
, anova
, or
aovlist
.
Numeric specifying Level of confidence for the confidence
interval (Default: 0.95
).
Number of bootstrap samples for confidence intervals for partial
eta-squared and omega-squared (Default: 500
).
A dataframe with results from stats::lm()
with partial eta-squared,
omega-squared, and bootstrapped confidence interval for the same.