Learn R Programming

chickn (version 1.2.3)

W1_cl_centr_BIG: W1_cl_centr_BIG

Description

Parallel computation for big clusters of the Wasserstein distances between cluster centroid and signals in the cluster

Usage

W1_cl_centr_BIG(X_cumsum, rowInd, colInd, C_cumsum, nbr_cluster)

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

nbr_cluster

is a number of clusters

Value

A vector of the Wasserstein distances