I'm rather new to R and trying to graph out a humanitarian aid distribution to see if we can identify clusters. The data is really simple and consists of two columns, a unique identifier for each beneficiary, and the unique identifier of the group providing them a service. Each row is one activity (i.e. one beneficiary, one provider).We have about 50,000 beneficiaries, and about 6,000 groups, and I want to see if we can loosely identify "clusters" of beneficiaries who rely on the same set of groups.
I feel like I should be able to do this using igraph in R, where the beneficiaries are nodes, and shared groups create an edge, but I'm not sure how to structure that formula. Would really appreciate any help on this.