PearsonHeuristic | R Documentation |
Performs the feature-clustering using Pearson correlation tests. Valid for both, bi-class and multi-class problems.
The test statistic is based on Pearson's product moment correlation coefficient cor(x, y) and follows a t distribution with length(x)-2 degrees of freedom if the samples follow independent normal distributions. If there are at least 4 complete pairs of observation, an asymptotic confidence interval is given based on Fisher's Z transform.
D2MCS::GenericHeuristic
-> PearsonHeuristic
new()
Creates a PearsonHeuristic object.
PearsonHeuristic$new()
heuristic()
Test for association between paired samples using Pearson test.
PearsonHeuristic$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.
PearsonHeuristic$clone(deep = FALSE)
deep
Whether to make a deep clone.
Dataset
, cor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.