Description Usage Arguments Details Value See Also Examples
Converts underlying data into an Item Matrix frame.
1 | as_item_matrix(x, ...)
|
x |
Either a |
... |
Not used |
item_matrix()
acts as an alias for as_item_matrix()
An item_matrix
object.'
1 2 3 4 5 6 7 8 | # Item matrix values
x = matrix(c(1, 0, 0, 1), nrow = 2)
# Construct item class
items = as_item_matrix(x)
# View output
items
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.