View source: R/weaveWebFromTables.R
makeAdjacencyMatrixFromGroupMemberList | R Documentation |
Takes the anansi dictionary in list format and wrangles it into a binary adjacency matrix based on group membership.
For general use, should probably not be called directly, but rather through weaveWebFromTables
.
makeAdjacencyMatrixFromGroupMemberList(dict_list, mode = mode)
dict_list |
A list that has tableY names as entries in the case of mode == "interaction" and groupnames in the case of mode == "membership". For general use, we recommend using the one provided in this package. |
mode |
A character vector. Can be "interaction" or "membership". Toggles whether to link two datasets based on their interactions or based on shared group membership. |
a binary adjacency matrix with the group members on both the rows and columns.
weaveWebFromTables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.