delaneau.score: Score impact of each sample on correlation sturucture

View source: R/other_corr_tests.R

delaneau.scoreR Documentation

Score impact of each sample on correlation sturucture

Description

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.

Usage

delaneau.score(Y, method = c("pearson", "kendall", "spearman"))

Arguments

Y

data matrix with samples on rows and variables on columns

method

specify which correlation method: "pearson", "kendall" or "spearman"

Value

score for each sample measure impact on correlation structure

See Also

delaneau.test

Examples

# load iris data
data(iris)

# Evalaute score on each sample
delaneau.score( iris[,1:4] )


GabrielHoffman/decorate documentation built on May 23, 2023, 1:29 a.m.