From: <snt...@us...> - 2010-09-16 02:54:39
|
Revision: 172 http://bugs-r.svn.sourceforge.net/bugs-r/?rev=172&view=rev Author: snthomas99 Date: 2010-09-16 02:54:33 +0000 (Thu, 16 Sep 2010) Log Message: ----------- Corrected bug in bugs.log and corrected some documentation Modified Paths: -------------- trunk/R2OpenBUGS/R/bugs.log.R trunk/R2OpenBUGS/man/bugs.data.Rd trunk/R2OpenBUGS/man/bugs.inits.Rd trunk/R2OpenBUGS/man/read.bugs.Rd Modified: trunk/R2OpenBUGS/R/bugs.log.R =================================================================== --- trunk/R2OpenBUGS/R/bugs.log.R 2010-09-14 15:19:26 UTC (rev 171) +++ trunk/R2OpenBUGS/R/bugs.log.R 2010-09-16 02:54:33 UTC (rev 172) @@ -29,7 +29,7 @@ dimnames(m) <- list(row.names, col.names) return(m) } - stats <- extract(log.txt, "Node statistics") - DIC <- extract(log.txt, "DIC", skip=1, empty.left.col=FALSE) + stats <- extract(log.txt, "Summary statistics") + DIC <- extract(log.txt, "Deviance information", skip=0, empty.left.col=FALSE) list(stats=stats, DIC=DIC) } Modified: trunk/R2OpenBUGS/man/bugs.data.Rd =================================================================== --- trunk/R2OpenBUGS/man/bugs.data.Rd 2010-09-14 15:19:26 UTC (rev 171) +++ trunk/R2OpenBUGS/man/bugs.data.Rd 2010-09-16 02:54:33 UTC (rev 172) @@ -2,8 +2,7 @@ \alias{bugs.data} \title{Writing input for OpenBUGS} -\description{Write file for \pkg{OpenBUGS} to read - for - internal use.} +\description{Write file for \pkg{OpenBUGS} to read.} \usage{ bugs.data(data, dir = getwd(), digits = 5, data.file = "data.txt") @@ -23,6 +22,5 @@ the data file is written} \seealso{The main function to be called by the user is \code{\link{bugs}}.} -\keyword{internal} \keyword{file} \keyword{IO} Modified: trunk/R2OpenBUGS/man/bugs.inits.Rd =================================================================== --- trunk/R2OpenBUGS/man/bugs.inits.Rd 2010-09-14 15:19:26 UTC (rev 171) +++ trunk/R2OpenBUGS/man/bugs.inits.Rd 2010-09-16 02:54:33 UTC (rev 172) @@ -1,9 +1,9 @@ \name{bugs.inits} \alias{bugs.inits} -\title{Writing input for OpenBUGS - intended for internal use only} +\title{Writing input for OpenBUGS } \description{Write files \file{inits1.txt}, \file{inits2.txt}, etc., in - the working directory for \pkg{OpenBUGS} to read - for internal use.} + the working directory for \pkg{OpenBUGS} to read } \usage{ bugs.inits(inits, n.chains, digits, @@ -23,6 +23,5 @@ are written} \seealso{The main function to be called by the user is \code{\link{bugs}}.} -\keyword{internal} \keyword{IO} \keyword{file} Modified: trunk/R2OpenBUGS/man/read.bugs.Rd =================================================================== --- trunk/R2OpenBUGS/man/read.bugs.Rd 2010-09-14 15:19:26 UTC (rev 171) +++ trunk/R2OpenBUGS/man/read.bugs.Rd 2010-09-16 02:54:33 UTC (rev 172) @@ -16,7 +16,7 @@ \code{\link{bugs}} in call such as \code{bugs(....., codaPkg=TRUE, .....)}). Each of the files contains coda output for one chain produced by \pkg{OpenBUGS}, the \emph{directory} name of the corresponding - file \file{codaIndex.txt} is extracted from the first element of + file \file{CODAindex.txt} is extracted from the first element of \code{codafiles}.} \item{...}{further arguments to be passed to \code{\link[coda]{read.coda}}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |