makeCalibrationModel: (internal) construct a model

View source: R/core_functions.R

makeCalibrationModelR Documentation

(internal) construct a model

Description

makeCalibrationModel is an internal function for constructing a model.

Usage

makeCalibrationModel(d, dimensions, bound_cov)

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.

Value

makeCalibrationModel returns a mirt.model object.

Examples

PROsetta:::makeCalibrationModel(data_asq, 1, FALSE)
PROsetta:::makeCalibrationModel(data_asq, 1, TRUE)
PROsetta:::makeCalibrationModel(data_asq, 2, FALSE)
PROsetta:::makeCalibrationModel(data_asq, 2, TRUE)


choi-phd/PROsetta documentation built on Nov. 27, 2024, 5:45 a.m.