Learn R Programming

hmcdm (version 2.1.2)

TPmat: Generate monotonicity matrix

Description

Based on the latent attribute space, generate a matrix indicating whether it is possible to transition from pattern cc to cc' under the monotonicity learning assumption.

Usage

TPmat(K)

Value

A 2^K-by-2^K dichotomous matrix of whether it is possible to transition between two patterns

Arguments

K

An int of the number of attributes.

Examples

Run this code
TP = TPmat(4)

Run the code above in your browser using DataLab