bcss_compute: Function to Compute the Between-Cluster Sum of Squares (BCSS)...

View source: R/helpers.R

bcss_computeR Documentation

Function to Compute the Between-Cluster Sum of Squares (BCSS) for a Set of Clusters

Description

Function to Compute the Between-Cluster Sum of Squares (BCSS) for a Set of Clusters

Usage

bcss_compute(ncs, class_vec, clusters, q = seq(0.1, 0.9, by = 0.1))

Arguments

ncs

Vector of non-conformity scores

class_vec

Vector of class labels

clusters

List of clusters, where each element is a vector of class labels assigned to that cluster

q

Quantiles to use for the qECDFs, default is a sequence from 0.1 to 0.9 in steps of 0.1

Value

A numeric value representing the BCSS for the clusters


pintervals documentation built on March 3, 2026, 5:06 p.m.