Learn R Programming

D2MCS (version 1.0.1)

ChiSquareHeuristic: Feature-clustering based on ChiSquare method.

Description

Performs feature-clustering based on ChiSquare method.

Arguments

Super class

D2MCS::GenericHeuristic -> ChiSquareHeuristic

Methods


Method new()

Empty function used to initialize the object arguments in runtime.

Usage

ChiSquareHeuristic$new()


Method heuristic()

Functions responsible of performing the ChiSquare feature-clustering operation.

Usage

ChiSquareHeuristic$heuristic(col1, col2, column.names = NULL)

Arguments

col1

A numeric vector or matrix required to perform the clustering operation.

col2

A numeric vector or matrix to perform the clustering operation.

column.names

An optional character vector with the names of both columns.

Returns

A numeric vector of length 1 or NA if an error occurs.


Method clone()

The objects of this class are cloneable with this method.

Usage

ChiSquareHeuristic$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

Dataset, chisq.test