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

View source: R/utils.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

index of clusters involved in the test

k2

index of clusters involved in the test

Value

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


yiqunchen/KmeansInference documentation built on June 4, 2022, 1:20 p.m.