col_positions | R Documentation |
For each row in a matrix, identify which columns have a
col_positions(x)
x |
a matrix of 0s and 1s |
a list of nrow(x)
where each element is an integer vector of
column positions that have a 1 for each matrix row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.