matrix_indices {oeli} | R Documentation |
matrix
indicesThis function returns matrix
indices as character
.
matrix_indices(x, prefix = "", exclude_diagonal = FALSE)
x |
A |
prefix |
A |
exclude_diagonal |
Either |
A character
vector
.
M <- diag(3)
matrix_indices(M)
matrix_indices(M, "M_")
matrix_indices(M, "M_", TRUE)