Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phylolm functionality with emmeans/emtrends #34

Open
iausprey opened this issue Aug 7, 2020 · 1 comment
Open

Phylolm functionality with emmeans/emtrends #34

iausprey opened this issue Aug 7, 2020 · 1 comment

Comments

@iausprey
Copy link

iausprey commented Aug 7, 2020

Hello!

Is it possible to make phylolm models compatible with emmeans and emtrends? This is necessary to interpret output with multiple categorical variables and interactions.

Thank you,
Ian

@MarcRieraDominguez
Copy link

Hello! Are there any news on this?

I think adding compatibility with emmeans() is particularly valuable, as it would presumably allow to combine the calculation of contrasts (etc) with multimodel inference, since emmeans() is compatible with objects of class "averaging" (obtained with MuMIn::dredge()).

On a side note, marginaleffects now allows to calculate estimated marginal means (vincentarelbundock/marginaleffects#736). However, marginaleffects is not compatible with models of class "averaging", so the calculation of contrasts cannot currently be combined with model averaging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants