Created
May 12, 2018 06:15
-
-
Save hiramekun/c979e29598c093ab71d761081ebc657f to your computer and use it in GitHub Desktop.
一般化線形モデルの実行方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(glmmML) | |
d = read.csv("data.csv") | |
summary(d) | |
glmmML(cbind(y, N - y) ~ x, | |
data = d, | |
family = binomial, | |
cluster = id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output