Learn R Programming

TestDesign (version 1.0.1)

EAP: Generate expected a posteriori estimates of theta

Description

Generate expected a posteriori estimates of theta.

Usage

EAP(object, prior, select = NULL, reset_prior = FALSE)

# S4 method for test EAP(object, prior, select = NULL, reset_prior = FALSE)

# S4 method for test_cluster EAP(object, prior, select = NULL, reset_prior = FALSE)

Arguments

object

A '>test or a '>test_cluster object.

prior

A prior distribution, a numeric vector for a common prior or a matrix for individualized priors.

select

A vector of indices identifying the items to subset.

reset_prior

Set TRUE to reset the prior distribution for each test when object is of class '>test_cluster.