getMembership: calculated the membership of each node given ratio matrix and community centers
Description
calculated the membership of each node given ratio matrix and community centers
Usage
getMembership(R, vertices, K, eig.values, eig.vectors)
Arguments
vertices
K-by-(K-1) community centers
eig.values
eigenvalues of adjacency matrix.
eig.vectors
eigenvectors of adjacency matrix.
Value
n-by-K membership matrix