SpearmanHeuristic | R Documentation |
Performs the feature-clustering using Spearman's rho statistic.
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.
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.
A numeric vector of length 1 or NA if an error occurs.
clone()
The objects of this class are cloneable with this method.
SpearmanHeuristic$clone(deep = FALSE)
deep
Whether to make a deep clone.
Dataset
, cor.test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.