View source: R/struc__maskMatrix.R
maskMatrix | R Documentation |
For example, m <- m * maskMatrix(m, items_to_keep.dataframe, keep.diag = True) will replace unwanted cells with zero.
maskMatrix(m, df, default = 0, keep.diag = TRUE)
Yu Wan (wanyuac@gmail.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.