glmmML(formula, family = binomial, data, cluster, subset, na.action,
offset, start.coef = NULL, start.sigma = NULL,
control = list(epsilon = 1e-08, maxit = 200, trace = FALSE),
n.points = 16, boot = 0)binomial and
poisson. The binomial family allows for the logit and
cloglog links, but can only be represented as binary data.glm.control for details.boot = 0). If you want to say yes, enter a
positive integer here. It should be equal to the number of bootstrap
samples you want to draw. A recomendedglmmboot, optim,
glmm in Lindsey's
repeated package, lmer in Matrixand
glmmPQL in MASS.id <- factor(rep(1:20, rep(5, 20)))
y <- rbinom(100, prob = rep(runif(20), rep(5, 20)), size = 1)
x <- rnorm(100)
dat <- data.frame(y = y, x = x, id = id)
glmmML(y ~ x, data = dat, cluster = id)Run the code above in your browser using DataLab