Performs the feature-clustering using Spearman's rho statistic.
D2MCS::GenericHeuristic
-> SpearmanHeuristic
new()
Creates a SpearmanHeuristic object.
SpearmanHeuristic$new()
heuristic()
Test for correlation between paired samples using Spearman rho statistic.
SpearmanHeuristic$heuristic(col1, col2, column.names = NULL)
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.
clone()
The objects of this class are cloneable with this method.
SpearmanHeuristic$clone(deep = FALSE)
deep
Whether to make a deep clone.
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.
Dataset
, cor.test