name: Question about: I have a question about emmeans title: '' labels: question assignees: ''
Some model classes have their emmeans support in another package -- e.g., the one that defines the model class itself. If so, you should consider directing your question to that package, rather than to emmeans.
Often there are useful annotation that you'll miss if you post-process your code. Seeing the actual results may even answer your question!
# --- Actual results (YES):
emmeans(mod, ~ Sex)
## Sex emmean SE df asymp.LCL asymp.UCL
## F -1.432 0.582 Inf -2.572 -0.291
## M 0.392 0.492 Inf -0.573 1.356
##
## Results are averaged over the levels of: Treatment
## Results are given on the logit (not the response) scale.
## Confidence level used: 0.95
# --- Filtered results (NO):
emmeans(mod, ~ Sex) %>% as_tibble()
## # A tibble: 2 × 6
## Sex emmean SE df asymp.LCL asymp.UCL
## <fct> <dbl> <dbl> <dbl> <dbl> <dbl>
## 1 F -1.43 0.582 Inf -2.57 -0.291
## 2 M 0.392 0.492 Inf -0.573 1.36
Tell me your concern, and illustrate it using enough code and output that I can reproduce it, and enough output (including annotations and messages) that I can tell what went wrong. Try to keep the example small and the variable names simple.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.