data.mcmc: MCMC object data

Description Usage Arguments Value Author(s) See Also Examples

View source: R/out.mcmclist.R

Description

This function gives the data for an MCMC object.

Usage

1
data.mcmc(mcmclist, ...)

Arguments

mcmclist

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

...

Further arguments.

Value

The data for an MCMC object.

Author(s)

Javier Mart<c3><ad>nez

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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)

bairt documentation built on May 1, 2019, 10:56 p.m.

Related to data.mcmc in bairt...