Learn R Programming

hmcdm (version 2.1.2)

random_Q: Generate random Q matrix

Description

Creates a random Q matrix containing three identity matrices after row permutation

Usage

random_Q(J, K)

Value

A dichotomous matrix for Q.

Arguments

J

An int that represents the number of items

K

An int that represents the number of attributes/skills

Examples

Run this code
random_Q(15,4)

Run the code above in your browser using DataLab