I am analyzing 22 districts in a major city and I am using gml file types. Thus far, I have all the district data seperated. I wanted to know whether there is a way to merge different igraph files into one giant igraph file (row wise combination)? The district “rows” in this case are the following attributes from the district igraph:
V(district10)$ id (v/n), label (v/c), victim (v/n), age (v/n), sex (v/c), race (v/c), weight (e/n)
Each district igraph has 10 elements and using the head functions gives me this print out:
head(district10) 6 x 7165 sparse Matrix of class "dgCMatrix"
(with the 6 referring to the different attributes and 7165 referring to amount vertices in district10)
So I can’t just use the rbind function e.g.
alldistricts <- rbind(district1, district2, district3, ...district25, use.names = TRUE)
So what would be the equivalent way of doing the above rbind function in the igraph context?
I am using Rstudio Version 1.2.5033 and igraph version 1.2.5