glmmML(formula, family = binomial, data, cluster, weights, subset, na.action,
offset, prior = c("gaussian", "logistic", "cauchy"),
start.coef = NULL, start.sigma = NULL, fix.sigma = FALSE,
control = list(epsilon = 1e-08, maxit = 200, trace = FALSE),
method = c("Laplace", "ghq"), n.points = 1, boot = 0)binomial and
poisson. The binomial family allows for the logit and
cloglog links.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 recomendedFor the binomial families, the response can be a two-column matrix, see the help page for glm for details.
glmmboot, glm, 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