Last chance! 50% off unlimited learning
Sale ends in
This function extracts the partitions from the results of the sample.partitions function.
process.samples(x, as.matrix = TRUE, expand = FALSE, sample.parameter = FALSE)
An object from the sample.partitions
function.
Should the results be returned as a matrix of cluster labels or list of partitions?
If TRUE
, a matrix of item-specific parameter values is returned. This requires that cluster parameters are scalars?
A function taking no arguments and returning a random sample from the centering distribution.
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
.
This function extracts the sampled partitions from the results of the sample.partitions function.
# NOT RUN {
example(shallot)
# }
Run the code above in your browser using DataLab