Learn R Programming

GDINA (version 2.13.1)

init_constraint_matrices: Initialize constraint matrices

Description

Creates constraint matrices for monotonicity constraints across items.

Usage

init_constraint_matrices(
  ncat,
  mono.constraint,
  Kj,
  reduced.LG,
  ConstrPairs = NULL
)

Value

List with ConstrType vector and ConstrMatrix list

Arguments

ncat

Number of categories

mono.constraint

Vector of logicals indicating which items have monotonicity constraints

Kj

Vector of attribute counts per item

reduced.LG

List of reduced latent group matrices

ConstrPairs

Optional pre-specified constraint pairs