Learn R Programming

PROsetta (version 0.4.1)

makeCalibrationModel: (internal) construct a model

Description

makeCalibrationModel is an internal function for constructing a model.

Usage

makeCalibrationModel(d, dimensions, bound_cov)

Value

makeCalibrationModel returns a mirt.model object.

Arguments

d

a PROsetta_data object.

dimensions

the number of dimensions to use in the model. Must be 1 or 2. If 1, all instruments are modeled to be from one dimension. If 2, each instrument is modeled to be from its own dimension (i.e., calibrated projection is used).

bound_cov

only used when dimensions is 2. If TRUE, then constrain the between-dimension covariance to be < .999.

Examples

Run this code
PROsetta:::makeCalibrationModel(data_asq, 1, FALSE)
PROsetta:::makeCalibrationModel(data_asq, 1, TRUE)
PROsetta:::makeCalibrationModel(data_asq, 2, FALSE)
PROsetta:::makeCalibrationModel(data_asq, 2, TRUE)

Run the code above in your browser using DataLab