powered by
Splitting of a vector of continuous values into k groups using kmeans. Used to discretize node labels/weights of a fitness landscape or node-weighted graph.
kmeans_discrete(nlevels)
function that makes a numeric vector discrete
number of levels to split continuous vector into