compute_S_centroid_gencov: Computes the conditioning set S for centroid linkage...

View source: R/trunc_sets.R

compute_S_centroid_gencovR Documentation

Computes the conditioning set S for centroid linkage hierarchical clustering, w/o assuming isotropic covariance matrix

Description

Computes the conditioning set S for centroid linkage hierarchical clustering, w/o assuming isotropic covariance matrix

Usage

compute_S_centroid_gencov(X, hcl, K, k1, k2, stat, dist)

Arguments

X

the n x q data set

hcl

hclust object obtained by clustering X

K

number of clusters

k1

the index of first cluster involved in the test

k2

the index of second cluster involved in the test

stat

the test statistic, ||\Sigma^{-1/2} x^T \nu||_2

dist

The distances of matrix X

Value

Returns an "Intervals" object containing the conditioning set.


lucylgao/clusterpval documentation built on July 4, 2023, 4:40 p.m.