ClustMeans {lsbclust}R Documentation

C++ Function for Cluster Means

Description

This function calculates the cluster means in vectorized form based on the current value of the clustering vector.

Usage

ClustMeans(nclust, start, data)

Arguments

nclust

The number of clusters.

start

The current clustering vector.

data

The concatenated data, with J * K rows and N columns

Value

A numeric matrix with nclust rows and J*K columns.


[Package lsbclust version 1.1 Index]