iter.mcmc {bairt}R Documentation

Number of Iterations for an MCMC object.

Description

This function gives the number of Iterations for a class object mcmc.2pnob or mcmc.3pnob.

Usage

iter.mcmc(mcmclist, ...)

Arguments

mcmclist

A mcmc.2pnob or mcmc.3pnob class object.

...

Further arguments.

Value

The number of iterations for an mcmc.2pnob or mcmc.3pnob object.

Author(s)

Javier Martínez

See Also

mcmc.2pnob, mcmc.3pnob and continue.mcmc.bairt.

Examples

# data for model
data("MathTest")

# Only for the first 500 examinees of the data MathTest
# Two-Parameter Normal Ogive Model
model2 <- mcmc.2pnob(MathTest[1:500,], iter = 100, burning = 0)
iter.mcmc(model2)
burning.mcmc(model2)
thin(model2)
parts.mcmc(model2)
model.mcmc(model2)
data.mcmc(model2)


# For all examinees of the data MathTest
# Three-Parameter Normal Ogive Model
model3 <- mcmc.3pnob(MathTest, iter = 3500, burning = 500)
iter.mcmc(model3)
burning.mcmc(model3)
thin(model3)
parts.mcmc(model3)
model.mcmc(model3)
data.mcmc(model3)


## End(Not run)


[Package bairt version 0.1.2 Index]