Learn R Programming

bayesmix (version 0.7-6)

JAGScontrol: Control parameters for the sampling.

Description

The information on the number of burn-in draws and monitored draws is specified. Furthermore, it includes the information which variables shall be monitored and possibly a seed and a random number generator (RNG).

Usage

JAGScontrol(variables, n.iter = 1000, thin = 1, burn.in = 0, seed,
            rng = c("base::Wichmann-Hill",
                    "base::Marsaglia-Multicarry",
                    "base::Super-Duper",
                    "base::Mersenne-Twister"))

Value

An object of class JAGScontrol is returned which is a list containing the specified information.

Arguments

variables

names of variables which shall be monitored.

n.iter

number of monitored draws.

thin

thinning interval.

burn.in

number of discarded burn-in draws.

seed

integer setting the seed for the RNG.

rng

specification of RNG.

Author

Bettina Gruen

See Also

JAGSrun

Examples

Run this code
control <- JAGScontrol(variables = "mu")
control

Run the code above in your browser using DataLab