kmeans_discrete {gtexture} | R Documentation |
Kmeans clustering discretization
Description
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.
Usage
kmeans_discrete(nlevels)
Arguments
nlevels |
number of levels to split continuous vector into |
Value
function that makes a numeric vector discrete
[Package gtexture version 1.0.0 Index]