neur.glm <- glm(Pain ~ Treatment + Sex + Age, family = binomial(),
data = neuralgia)
### The actual results with annotations (e.g. ests are on logit scale):
emmeans(neur.glm, "Treatment")
### Post-processed results lose the annotations
if(requireNamespace("tibble")) {
emmeans(neur.glm, "Treatment") |> tibble::as_tibble()
}
Run the code above in your browser using DataLab