proba_max_cluster {MagmaClustR} | R Documentation |
Indicates the most probable cluster
Description
Indicates the most probable cluster
Usage
proba_max_cluster(mixture)
Arguments
mixture |
A tibble or data frame containing mixture probabilities. |
Value
A tibble, retaining only the most probable cluster. The column
Cluster
indicates the the cluster's name whereas Proba
refers to its associated probability. If ID
is initially
a column of mixture
(optional), the function returns the most
probable cluster for all the different ID
values.
Examples
TRUE
[Package MagmaClustR version 1.2.1 Index]