My model is a glm with a three-way interaction + an additional variable (RA ~ Sex * Exp * LastExp + Mass).
How do I find the Cohen's d effect sizes for the main effects of this model? (not each pairwise comparison)
EDIT: Sorry, I was hoping there was a "straightforward" solution.
Couple lines of code look like:
Mass <- c(10.9535,4.3235,9.2485,4.8235,6.8960,8.2075)
Sex <- c("M","M","M","M","F","M")
Exp <- c("Single","Mixed","Single","Double","Single","Single","Single")
LastExp <- c("W","L","L","L","W","L")
RA <- c(40,32,41,9,27,31)
I used the emmeans package to run post hoc and see the Cohen's d effect sizes for the pairwise comparisons, but what I want is to see the Cohen's d effect sizes for the main effects of the model (show me the Cohen's d with my summary(RAmodel) output).
I tried using the cohen.d function (from the effsize package) but it doesn't seem to like that my parameters are not all numeric.
Thanks!