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

request method for S3 object of class mer, package lme4.0 #17

Closed
kgturner opened this issue Dec 5, 2014 · 3 comments
Closed

request method for S3 object of class mer, package lme4.0 #17

kgturner opened this issue Dec 5, 2014 · 3 comments
Assignees

Comments

@kgturner
Copy link

kgturner commented Dec 5, 2014

This package is a great idea! Unfortunately for me it doesn't work with the model class I currently work with the most, S3 objects of class mer from package lme4.0 and all versions of lme4 prior to 1.1-7. Would be really great if it did.... I might try taking a crack at it myself, but could take quite a while.

@dgrtwo
Copy link
Collaborator

dgrtwo commented Dec 8, 2014

Thanks for the suggestion! I've added tidiers for "mer" objects, such that they can be used something like:

library(lme4.0)
(fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy))
tidy(fm1)
tidy(fm1, effects = "fixed")
augment(fm1)
glance(fm1)

Because I am not entirely familiar with this version of lme4 I might have missed some of the features you're interested in extracting from such objects (for example, the augment.merMod from the current lme4 includes a .fixed column; I'm not sure how to create the equivalent with lme4.0). Before I close this issue I thus want to give you a chance to try it out and let me know if there are problems. Thanks again!

@kgturner
Copy link
Author

kgturner commented Dec 8, 2014

Oooh, cool! Seems to work how I was hoping, appreciate it!

@dgrtwo dgrtwo closed this as completed Dec 8, 2014
@github-actions
Copy link

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants