Plot adjacency matrix by membership
1 | plot_by_membership(df, edgelist, size = 0.1, alpha = 0.5)
|
df |
a data frame of group membership, with variables id, id_num and group |
edgelist |
a data frame of edges, with varaibles citing, cited, id_num, and group |
size |
size of dots in ggplot2::geom_point() |
alpha |
alpha of dots in ggplot2::geom_point() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.