getMembership function

calculated the membership of each node given ratio matrix and community centers

calculated the membership of each node given ratio matrix and community centers

getMembership(R, vertices, K, eig.values, eig.vectors)

Arguments

  • R: n-by-(K-1) ratio matrix
  • vertices: K-by-(K-1) community centers
  • K: number of communities.
  • eig.values: eigenvalues of adjacency matrix.
  • eig.vectors: eigenvectors of adjacency matrix.

Returns

n-by-K membership matrix

  • Maintainer: Shengming Luo
  • License: GPL-2
  • Last published: 2019-06-14

Useful links