worm_clustering,WormTensor-method {WormTensor} | R Documentation |
Generates clustering result A clustering result is generated from a membership tensor.
Description
Generates clustering result A clustering result is generated from a membership tensor.
Usage
## S4 method for signature 'WormTensor'
worm_clustering(
object,
algorithm = c("MCMI", "OINDSCAL", "CSPA"),
num.iter = 30,
thr = 1e-10,
verbose = FALSE
)
Arguments
object |
WormTensor object with a membership tensor |
algorithm |
Clustering methods |
num.iter |
The upper limit of iterations (Default value is 30) |
thr |
The lower limit of relative change in estimates (Default value is 1E-10) |
verbose |
Control message |
Value
WormTensor object with a clustering result added
Examples
# Pipe Operation
worm_download("Euclid", qc = "WARN")$Ds |>
as_worm_tensor() |>
worm_membership(k = 6) -> object
worm_clustering(object, verbose = TRUE) -> ob_mcmi
worm_clustering(object, algorithm = "OINDSCAL", verbose = TRUE) -> ob_oind
worm_clustering(object, algorithm = "CSPA", verbose = TRUE) -> ob_cspa
[Package WormTensor version 0.1.1 Index]