https://github.com/cran/R2WinBUGS
Raw File
Tip revision: 1fde2d1e90957c9e2fe16377fe9541a448c431ea authored by Uwe Ligges on 01 February 2008, 00:00:00 UTC
version 2.1-8
Tip revision: 1fde2d1
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