https://github.com/cran/R2WinBUGS
Raw File
Tip revision: 6c25164beab19c4bb023ec4eb2d23c017d1df999 authored by Sibylle Sturtz on 30 May 2005, 00:00:00 UTC
version 0.2-8
Tip revision: 6c25164
read.bugs.R
read.bugs <- function(codafiles, ...){
    if(!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