R/writeControlFile.R

`writeControlFile` <-
function(jags.control,
                             file=paste(jags.control$stem,".cmd",sep=""))
{

  if (class(jags.control) != "jagsControl")
    stop("'jags.control' must be of class 'jagsControl'")

##  if (class(priors) != "priorsSegratioMM")
##    stop("'priors' must be of class 'priorsSegratioMM'")

  cat(file=file, jags.control$jags.code, sep="\n")

}

Try the polySegratioMM package in your browser

Any scripts or data that you put into this service are public.

polySegratioMM documentation built on May 2, 2019, 4:41 p.m.