You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is all working as it is supposed to. But my students (and me) were expecting marginaleffects functions to work directly on objects produced by fitting tidymodels. Fortunately, I think this functionality would be easy to add by just checking to see if the value passed in for the model argument is of class model_fit. If it is, we just pull out the $fit.
If this seems reasonable, I could submit a PR.
The text was updated successfully, but these errors were encountered:
Consider:
Created on 2024-08-22 with reprex v2.1.0
This is all working as it is supposed to. But my students (and me) were expecting marginaleffects functions to work directly on objects produced by fitting tidymodels. Fortunately, I think this functionality would be easy to add by just checking to see if the value passed in for the model argument is of class
model_fit
. If it is, we just pull out the $fit.If this seems reasonable, I could submit a PR.
The text was updated successfully, but these errors were encountered: