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

Description Usage Arguments Value See Also Examples

View source: R/other_corr_tests.R

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

1
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

1
2
3
4
5
# load iris data
data(iris)

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

GabrielHoffman/decorate documentation built on July 26, 2021, 12:18 a.m.