View source: R/matrix_indices.R
| matrix_indices | R Documentation |
matrix indicesThis function returns matrix indices as character.
matrix_indices(x, prefix = "", exclude_diagonal = FALSE)
x |
[ |
prefix |
[ |
exclude_diagonal |
[ |
A character vector.
Other matrix helpers:
check_correlation_matrix(),
check_covariance_matrix(),
check_transition_probability_matrix(),
cov_to_chol(),
diff_cov(),
insert_matrix_column(),
matrix_diagonal_indices(),
sample_correlation_matrix(),
sample_covariance_matrix(),
sample_transition_probability_matrix(),
stationary_distribution()
M <- diag(3)
matrix_indices(M)
matrix_indices(M, "M_")
matrix_indices(M, "M_", TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.