glmmBUGS: Generalised Linear Mixed Models with BUGS and JAGS

Share:

Automates running Generalized Linear Mixed Models, including spatial models, with WinBUGS, OpenBUGS and JAGS. Models are specified with formulas, with the package writings model files, arranging unbalanced data in ragged arrays, and creating starting values. The model is re-parameterized, and functions are provided for converting model outputs to the original parameterization.

Author
Patrick Brown, Lutong Zhou
Date of publication
2016-09-22 01:23:55
Maintainer
Patrick Brown <patrick.brown@utoronto.ca>
License
GPL
Version
2.4.0

View on CRAN

Man pages

addSpatial
Calculate adjacency values for WinBUGS
binToBinom
Convert Bernoulli observations to Binomial
checkChain
Plot an MCMC run
cholInvArray
Precision matrices to variance matrices for Winbugs output
getDesignMatrix
Computes a design matrix from factors and interactions
getRaggedSeq
Get one sequence for a ragged array
getStartingValues
Extract starting values for an MCMC chain from glmmPQL...
glmmBUGS
A function to run Generalised Linear Mixed Models in Bugs
glmmPQLstrings
An alternat interface to glmmPQL
mergeBugsData
Merge results from BUGS into a data.frame or SPDF
muscleResult
data set contains muscle result
ontario
Ontario data on molar cancer
ontarioResult
Ontario Winbugs Results
popDataAdjMat
Data set containing an adjacency matrix
restoreParams
Reparametrise bugs output
rongelapUTM
Rongelap island data
startingFunction
Write a function to generate random MCMC starting values
summaryChain
Compute mean, standard deviation, and quantiles of an MCMC...
winBugsRaggedArray
Ragged Arrays for multilevel models in BUGS
writeBugsModel
Write a bugs model file for a Generalised Linear Mixed Model

Files in this package

glmmBUGS
glmmBUGS/inst
glmmBUGS/inst/CITATION
glmmBUGS/inst/doc
glmmBUGS/inst/doc/jags.pdf
glmmBUGS/inst/doc/jags.Rnw
glmmBUGS/inst/doc/jags.R
glmmBUGS/tests
glmmBUGS/tests/bym.R
glmmBUGS/tests/openbugs.R
glmmBUGS/NAMESPACE
glmmBUGS/data
glmmBUGS/data/muscleResult.RData
glmmBUGS/data/ontario.RData
glmmBUGS/data/rongelapUTM.RData
glmmBUGS/data/ontarioResult.RData
glmmBUGS/data/popDataAdjMat.RData
glmmBUGS/data/rongelapResult.RData
glmmBUGS/R
glmmBUGS/R/glmmPQLstrings.R
glmmBUGS/R/startingFunction.R
glmmBUGS/R/cholInvArray.R
glmmBUGS/R/getRaggedSeq.R
glmmBUGS/R/checkChain.R
glmmBUGS/R/getStartingValues.R
glmmBUGS/R/binToBinom.R
glmmBUGS/R/winBugsRaggedArray.R
glmmBUGS/R/addSpatial.R
glmmBUGS/R/glmmBUGS.R
glmmBUGS/R/mergeBugsData.R
glmmBUGS/R/getDesignMatrix.R
glmmBUGS/R/summaryChain.R
glmmBUGS/R/writeBugsModel.R
glmmBUGS/R/restoreParams.R
glmmBUGS/vignettes
glmmBUGS/vignettes/Makefile
glmmBUGS/vignettes/jags-checkChain.pdf
glmmBUGS/vignettes/bacteria.txt
glmmBUGS/vignettes/jags.Rnw
glmmBUGS/vignettes/jags-checkChainM.pdf
glmmBUGS/vignettes/model.bug
glmmBUGS/vignettes/getInits.R
glmmBUGS/MD5
glmmBUGS/build
glmmBUGS/build/vignette.rds
glmmBUGS/DESCRIPTION
glmmBUGS/man
glmmBUGS/man/getStartingValues.Rd
glmmBUGS/man/rongelapUTM.Rd
glmmBUGS/man/addSpatial.Rd
glmmBUGS/man/checkChain.Rd
glmmBUGS/man/ontarioResult.Rd
glmmBUGS/man/writeBugsModel.Rd
glmmBUGS/man/cholInvArray.Rd
glmmBUGS/man/restoreParams.Rd
glmmBUGS/man/getDesignMatrix.Rd
glmmBUGS/man/glmmBUGS.Rd
glmmBUGS/man/getRaggedSeq.Rd
glmmBUGS/man/summaryChain.Rd
glmmBUGS/man/startingFunction.Rd
glmmBUGS/man/muscleResult.Rd
glmmBUGS/man/winBugsRaggedArray.Rd
glmmBUGS/man/binToBinom.Rd
glmmBUGS/man/popDataAdjMat.Rd
glmmBUGS/man/glmmPQLstrings.Rd
glmmBUGS/man/mergeBugsData.Rd
glmmBUGS/man/ontario.Rd