Description Usage Arguments Examples
Get available marix indices
1 | matrix_idx(mat, n.row = NULL, n.col = NULL, mask = NULL)
|
mat |
matrix |
n.row |
number of rows; default: NULL |
n.col |
number of columns; default: NULL |
mask |
logical matrix; default: NULL |
1 2 3 4 5 6 7 | T <- TRUE; F <- FALSE
mat <- matrix(0, 3, 3)
mask <- m(T, T, F | T, F, T | F, F, T)
# All poss
matrix_idx(mat)
matrix_idx(mat, mask = mask)
matrix_idx(mask = mask)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.