Build split table by K-means with 3 cluster centers for each column of X
A n by p matrix as input.
A n by p matrix with each column consists of 3 clusters: -1 for low, 0 for mid and 1 for high
split_table <- build_split_table(matrix(rnorm(5*10),5,10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.