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

Binary GLMs when response is not a factor #28

Open
bgreenwell opened this issue Mar 20, 2018 · 1 comment
Open

Binary GLMs when response is not a factor #28

bgreenwell opened this issue Mar 20, 2018 · 1 comment

Comments

@bgreenwell
Copy link
Member

bgreenwell commented Mar 20, 2018

heart <- data.frame(
  ck = 0:11*40 + 20,
  ha = c(2, 13, 30, 30, 21, 19, 18, 13, 19, 15, 7, 8),
  ok = c(88, 26, 8, 5, 0, 1, 1, 1, 1, 0, 0, 0)
)
mod.0 <- glm(cbind(ha,ok) ~ ck, family = binomial(link = "logit"),
             data = heart)
sure::resids(mod.0)
@bgreenwell bgreenwell changed the title Issues arise in GLMs when response is not a factor Binary GLMs when response is not a factor Apr 30, 2018
@bgreenwell
Copy link
Member Author

Should catch this and thrown an error...for now!

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