compute_S_centroid: Computes the conditioning set for centroid linkage...

View source: R/trunc_sets.R

compute_S_centroidR Documentation

Computes the conditioning set for centroid linkage hierarchical clustering

Description

Computes the conditioning set for centroid linkage hierarchical clustering

Usage

compute_S_centroid(X, hcl, K, k1, k2, 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

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.