I am investigating a significant 3-way interaction and I am not sure I am using emmeans correctly. When I pass the model to emmeans with type =response it says it is back-transformed but when I then pass that to pairs it says it is still on the log scale.
fit <- nlme::lme(log(Abundance) ~ Time * Group * Drug, random = ~ 1 | Sample.ID, method = "REML", data = data)
emm <- emmeans(fit, ~ Time * Group * Drug, type='response')
...
Degrees-of-freedom method: containment
Confidence level used: 0.95
Intervals are back-transformed from the log scale
pairwise_comparisons <- pairs(emm, adjust ="Tukey")
...
Degrees-of-freedom method: containment
P value adjustment: tukey method for comparing a family of 8 estimates
Tests are performed on the log scale
Edit: formating