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

Data manipulation functions don't work with some GLM specifications #83

Open
jknowles opened this issue Aug 25, 2017 · 0 comments
Open

Comments

@jknowles
Copy link
Owner

Using the two column model specification option for count and binomial models does not work with averageObs :

gm1 <- glmer(cbind(incidence, size - incidence) ~ period + (1 | herd),
              data = cbpp, family = binomial)
averageObs(gm1)

This is because the last line of the function requires parsing the names of the model frame, but thesew ill not line up with the original data because of the formula defining the Y variable.

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

1 participant