View source: R/other_corr_tests.R
delaneau.score | R Documentation |
Score impact of each sample on correlation sturucture. Compute correlation using all samples (i.e. C), then compute correlation omitting sample i (i.e. Ci). The score the sample i is based on the difference between C and Ci.
delaneau.score(Y, method = c("pearson", "kendall", "spearman"))
Y |
data matrix with samples on rows and variables on columns |
method |
specify which correlation method: "pearson", "kendall" or "spearman" |
score for each sample measure impact on correlation structure
delaneau.test
# load iris data
data(iris)
# Evalaute score on each sample
delaneau.score( iris[,1:4] )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.