Description Usage Arguments Value
View source: R/to_adjacency_matrix.R
Convert a data frame of pairwise interactions into an adjacency matrix between all objects.
1 | to_adjacency_matrix(dat)
|
dat |
a data frame with the objects that are interacting in the first two columns |
a square adjacency matrix with all unique values of the first
two columns of dat
as row and column names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.