Description Usage Arguments Value Examples
Take a numerical matrix and return two same-sized matrices using exclude_components
1 | split_matrix(mat, exclude)
|
mat |
A numeric matrix or a data frame coercible into a numeric matrix |
exclude |
A vector of integers specifying the components to exclude |
A named list with two matrices - remaining (inverse of excluded) and excluded (same as exclude_components)
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.