links <- coalitions_data_2019_11_03
head(links)
library(igraph)
coal <- graph_from_data_frame(d=links, directed=FALSE)
V(coal)$type <- bipartite.mapping(coal)$type
to create bipartite network in igraph from the dataset attached
i need to set an attribute (supports variable) to vertex (organization variable)
i don't know how
--
Best regards,
Dr. Sergei Kostiaev
PhD Candidate
Edward J. Bloustein School of Planning and Public Policy;
Part-Time Lecturer
Political Science Department
Rutgers University;
U.S. cell +1(202)361-7672
Adjunct Senior Fellow
Institute of Scientific Information on Social Sciences
Russian Academy of Sciences
Russian cell +7(495)798-2575