kel-github / PSY2R

translating PSY to R
2 stars 12 forks source link

Tinkering under the hoods: how does emmeans interact with model objects in R? #34

Open kel-github opened 1 month ago

kel-github commented 1 month ago

A lot of emmeans functions work on model objects - e.g. models produced using a function such as 'lm' or an 'ez' ANOVA. Ideally we want to do the same for the production of post-hoc confidence intervals. The goal of this issue is to look under the hood of some emmeans functions and work out how to generally code interactions with lm objects.