Learn R Programming

chickn (version 1.2.3)

IntraDist: Computation of the Wasserstein distances between cluster centroid and signals in the cluster

Description

Computation of the Wasserstein distances between cluster centroid and signals in the cluster

Usage

IntraDist(X_cumsum, rowInd, colInd, C_cumsum)

Arguments

X_cumsum

is a Filebacked data cummulative sum matrix n x N

rowInd

is a vector of the row indeces

colInd

is a vector of the column indeces

C_cumsum

is a vector of the cummulative sum of the cluster centroid

Value

The vector of the Wasserstein distances