https://github.com/cran/epiR
Raw File
Tip revision: 3efa83a425e327ec65c0587d1a398d631cff0b09 authored by Mark Stevenson on 05 December 2012, 07:57:55 UTC
version 0.9-45
Tip revision: 3efa83a
epi.RtoBUGS.Rd
\name{epi.RtoBUGS}

\alias{epi.RtoBUGS}

\title{R to WinBUGS data conversion}

\description{
Writes data from an R list to a text file in WinBUGS-compatible format.
}

\usage{
epi.RtoBUGS(datalist, towhere)
}

\arguments{
  \item{datalist}{a list (normally, with named elements) which may include scalars, vectors, matrices, arrays of any number of dimensions, and data frames.}
  \item{towhere}{a character string identifying where the file is to be written.}
}

\details{
Does not check to ensure that only numbers are being produced. In particular, factor labels in a data frame will be output to the file, which normally won't be desired.
}

\references{
Best, NG. WinBUGS 1.3.1 Short Course, Brisbane, November 2000. 
}

\author{
Terry Elrod (Terry.Elrod@UAlberta.ca), Kenneth Rice.
}

\keyword{univar}% at least one, from doc/KEYWORDS
\keyword{univar}% __ONLY ONE__ keyword per line
back to top