https://github.com/cran/R2WinBUGS
Raw File
Tip revision: 082aeeab1f0f2f48034774d8a264cc02a8a042cf authored by Uwe Ligges on 07 April 2013, 00:00:00 UTC
version 2.1-19
Tip revision: 082aeea
read.bugs.R
read.bugs <- function(codafiles, ...){
    if(!is.R() && !require("coda"))
        stop("package 'coda' is required to use this function")
    mcmc.list(lapply(codafiles, read.coda, 
                     index.file = file.path(dirname(codafiles[1]), "codaIndex.txt"), 
                     ...))
}
back to top