orc.lsbclust {lsbclust} | R Documentation |
K-means on the Overall Mean, Row Margins or Column Margins
Description
This function conducts k-means on the overall mean, the row margins or column margins of a set of N matrices. These matrices are two-way slices of a three-dimensional array.
Usage
orc.lsbclust(data, margin = 3L, delta, nclust, sep.nclust = TRUE,
type = NULL, verbose = 1, ...)
Arguments
data |
A three-way array representing the data. |
margin |
An integer giving the single subscript of |
delta |
A four-element binary vector (logical or numeric) indicating which sum-to-zero constraints must be enforced. |
nclust |
An integer giving the desired number of clusters. In case |
sep.nclust |
Logical indicating how nclust should be used across different |
type |
One of |
verbose |
Integer controlling the amount of information printed: 0 = no information, 1 = Information on random starts and progress, and 2 = information is printed after each iteration for the interaction clustering. |
... |
Additional arguments passed to |
Value
A list containing a subset of the classes row.kmeans
, col.kmeans
and
ovl.kmeans
which are specific versions of class kmeans
. In case type
is a vector, a list
is returned containing the results for each of the (unique) elements of type
, with the
same classes as before. See kmeans
for an overview of the structure of these objects.