I'm working with a bipartite multilayer network in the igraph package for R.
Is there a way to count the number of vertices of a given class and the number of edges on a given layer?
The summary function gives me total counts and lists.
Here are the attributes of my network:
IGRAPH 3e83b45 UNWB 501 1120 -- + attr: name (v/c), taxon (v/c), taxon.label (v/n), species.size (v/n), type (v/c), weight (e/n), type (e/c) + edges from 3e83b45 (vertex names):
Vertex classes are coded as "taxon", layers (i.e., edge types) are coded as "type".
Thank you very much!