is_item_matrix: Is object an Item Matrix?

Description Usage Arguments Value Examples

View source: R/item-matrix.R

Description

Is object an Item Matrix?

Usage

1

Arguments

x

An object to test

Value

A logical vector

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Specify int matrix details
x = matrix(c(1, 0, 1, 1, 1), ncol = 2)

# Coerce to an item matrix
items = item_matrix(x)

# Verify output is an item matrix
is_item_matrix(items)

# Not an item matrix, but a regular matrix...
is_item_matrix(x)

tmsalab/edmcore documentation built on Sept. 4, 2021, 2:46 a.m.