gistlib
other r categories
k-means code snippets in r
create a community matrix and use its laplacian matrix to get eigenvectors sorted by their corresponding eigenvalue in non-decreasing order. then use k means algorithm and plot a cluster graph in r
use a community matrix do spectral analysis using k means, and plot a cluster graph with ordered centers in r
gistlib
by LogSnag