Learn R Programming

chickn (version 1.2.3)

W1_cl_centr: Parallel computation of the Wasserstein distances between cluster centroid and points in the cluster

Description

Parallel computation of the Wasserstein distances between cluster centroid and points in the cluster

Usage

W1_cl_centr(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