Description Usage Arguments Value Examples
Is object an Item Matrix?
1 |
x |
An object to test |
A logical vector
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.