preserve_cl: Checks if Ck, Ck' in C(x'(phi))

View source: R/util.R

preserve_clR Documentation

Checks if Ck, Ck' in C(x'(phi))

Description

Checks if Ck, Ck' in C(x'(phi))

Usage

preserve_cl(cl, cl_phi, k1, k2)

Arguments

cl

clustering of x

cl_phi

clustering of x'(phi)

k1, k2

index of clusters involved in the test

Value

Returns TRUE if Ck, Ck' in C(x'(phi)), and FALSE otherwise


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