build_split_table: Build split table by K-means heuristicly.

View source: R/build_module.R

build_split_tableR Documentation

Build split table by K-means heuristicly.

Description

Build split table by K-means with 3 cluster centers for each column of X

Usage

build_split_table(X)

Arguments

X

A n by p matrix as input.

Value

A n by p matrix with each column consists of 3 clusters: -1 for low, 0 for mid and 1 for high

Examples

split_table <- build_split_table(matrix(rnorm(5*10),5,10))

chrischen1/GNET2 documentation built on June 29, 2022, 8:53 a.m.