Learn R Programming

ArrayBin (version 0.2)

clusterDisc: Fast Adaptive Binarization - internal

Description

Performs fast adaptive binarization of numeric arrays

Usage

clusterDisc(x,use.gap)

Arguments

x
Numeric data input vector used to generate binary output
use.gap
Boolean indicating whether to use gap statistic to infer whether or not the data can be sufficiently converted to a binary representation.

Value

x. That is, a numeric vector of the same length as input x, containing values 0 (representing a 'low' value) and 1 (respresenting a 'high' value).

Details

Function called by binarize.array