https://github.com/cran/R2WinBUGS
Raw File
Tip revision: 7d4a1761cc28d9481006aab852644072d84313ce authored by Uwe Ligges on 22 March 2011, 00:00:00 UTC
version 2.1-18
Tip revision: 7d4a176
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