## Diff of /man/jags.model.Rd[0f7a81] .. [9c2b12]  Maximize  Restore

### Switch to unified view

a/man/jags.model.Rd b/man/jags.model.Rd
...
...
5
  \code{jags.model} is used to create an object representing a

5
  \code{jags.model} is used to create an object representing a

6
  Bayesian graphical model, specified with a BUGS-language description

6
  Bayesian graphical model, specified with a BUGS-language description

7
  of the prior distribution, and a set of data.

7
  of the prior distribution, and a set of data.

8
}

8
}

9
\usage{

9
\usage{

10
 jags.model(file, data=sys.frame(sys.parent()), inits,

10
 jags.model(file, data, inits,

11
            n.chains = 1, n.adapt=1000, quiet=FALSE)

11
            n.chains = 1, n.adapt=1000, quiet=FALSE)

12
}

12
}

13
\arguments{

13
\arguments{

14
  \item{file}{the name of the file containing a description of the model in the

14
  \item{file}{the name of the file containing a description of the model in the

15
    JAGS dialect of the BUGS language.

15
    JAGS dialect of the BUGS language.

...
...
17
    Alternatively, \code{file} can be a readable text-mode connection,

17
    Alternatively, \code{file} can be a readable text-mode connection,

18
    or a complete URL.}

18
    or a complete URL.}

19
  \item{data}{a list or environment containing the data. Any numeric

19
  \item{data}{a list or environment containing the data. Any numeric

20
    objects in \code{data} corresponding to node arrays used in

20
    objects in \code{data} corresponding to node arrays used in

21
    \code{file} are taken to represent the values of observed nodes

21
    \code{file} are taken to represent the values of observed nodes

22
    in the model}

22
    in the model.}

23
  \item{inits}{optional specification of initial values in the form of a

23
  \item{inits}{optional specification of initial values in the form of a

24
    list or a function (see \code{Initialization} below). If omitted,

24
    list or a function (see \code{Initialization} below). If omitted,

25
    initial values will be generated automatically.  It is an error to

25
    initial values will be generated automatically.  It is an error to

26
    supply an initial value for an observed node.}

26
    supply an initial value for an observed node.}

27
  \item{n.chains}{the number of parallel chains for the model}

27
  \item{n.chains}{the number of parallel chains for the model}