Should the results be returned as a matrix of cluster labels or list of partitions?
expand
If TRUE, a matrix of item-specific parameter values is returned. This requires that cluster parameters are scalars?
sample.parameter
A function taking no arguments and returning a random sample from the centering distribution.
Value
A list containing either: i. a matrix of cluster labels in which each row
represents a clusterings, or ii. a list containing partitions. The list also
contains sampled model parameters if sample.parameter is not
NULL.
Details
This function extracts the sampled partitions from the results of the sample.partitions function.