split_groups | R Documentation |
Given a matrix and a data.frame, character vector or data.frame of groups, splits the indices / names of the matrix into groups appropriately. This function assumes that the matrix and the groups are in the correct order!!
split_groups(in_matrix, groups = NULL)
in_matrix |
the matrix we want to split up |
groups |
a data.frame, character vector or factor |
list of groups
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.