The glmmADMB package, built on the open-source
AD Model Builder platform, is
an R package for fitting
generalized linear mixed models (GLMMs).
Its capabilities include:
In order to use glmmADMB effectively you should already be reasonably familiar with GLMMs, which in turn requires familiarity with (i) generalized linear models (e.g. the special cases of logistic, binomial, and Poisson regression) and (ii) 'modern' mixed models (those working via maximization of the marginal likelihood rather than by manipulating sums of squares).
Please visit the following webpages for more information about the glmmADMB package (please note the latter is somewhat out of date, although it may still contain useful information):
install.packages("glmmADMB", repos="http://r-forge.r-project.org")
install.packages("glmmADMB", repos="http://r-forge.r-project.org",type="source")
glmmADMB_xxxx.tar.gz, where xxxx is the version number) in your R working directory and try
install.packages("glmmADMB_xxxx.tar.gz",repos=NULL, type="source")
install.packages("glmmADMB", repos="http://www.math.mcmaster.ca/bolker/R",type="source")
or by navigating to http://www.math.mcmaster.ca/bolker/R/src/contrib and downloading the appropriate file, and following step #3 above.
favail <- function(repos="r-forge.r-project.org",
pkg="glmmADMB",
...) {
hdr <- "http://"
if (!substr(repos,1,8)==hdr) repos <- paste(hdr,repos,sep="")
a <- available.packages(contriburl=contrib.url(repos),...)
if (length(grep(pkg,rownames(a)))==0)
stop(sprintf("%s unavailable at repos %s",pkg,repos))
a[pkg,"Version"]
}
You can use type="source" if you want to check for source packages rather than for the binaries for your OS.
For example:
favail() ## r-forge, automatic build (default)
favail(type="source") ## r-forge, source (the same, for Linux)
favail("glmmadmb.r-forge.r-project.org/repos") ## r-forge, alternative location
glmmADMB (>=0.7) require the R2admb package as well; under normal circumstances this should be installed automatically when you install glmmADMB, but if you run into trouble you should try solutions similar to those listed above.
glmmADMB will not run on MacOS 10.5 (Leopard) or earlier.
If you encounter this problem, your choices are:
glmmadmb from its TPL file on your machine. This will be a bit tricky if you are not reasonably experienced
users@admb-project.org. (Googling "admb macos 10.5" will be helpful as well, although it's possible that you will need the most recent version of the ADMB source code to compile glmmadmb.tpl properly ...)glmmadmb.tpl file in the glmmADMB package directories and use ADMB to compile it to a binarybin/macos32 or bin/macos64 directory as appropriate.
r-sig-mixed-models@r-project.org for glmmADMB questions, although if you feel that your question is more AD Model Builder-oriented than R-oriented you may also want to try the AD Model Builder user's list.
glmmADMB is installed) via vignette("glmmADMB",package="glmmADMB")
lme4 package.
New versions of glmmADMB (>0.6.4) have the following major changes: