https://github.com/cran/R2WinBUGS
Raw File
Tip revision: 8706e353694188826793d2b3800e97110973be63 authored by Sibylle Sturtz on 12 May 2007, 00:00:00 UTC
version 2.1-2
Tip revision: 8706e35
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