SpearmanHeuristic: Feature-clustering based on Spearman Correlation Test.

SpearmanHeuristicR Documentation

Feature-clustering based on Spearman Correlation Test.

Description

Performs the feature-clustering using Spearman's rho statistic.

Details

Spearman's rho statistic is to estimate a rank-based measure of association. These tests may be used if the data do not necessarily come from a bivariate normal distribution.

Super class

D2MCS::GenericHeuristic -> SpearmanHeuristic

Methods

Public methods


Method new()

Creates a SpearmanHeuristic object.

Usage
SpearmanHeuristic$new()

Method heuristic()

Test for correlation between paired samples using Spearman rho statistic.

Usage
SpearmanHeuristic$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
SpearmanHeuristic$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Dataset, cor.test


D2MCS documentation built on Aug. 23, 2022, 5:07 p.m.