Learn R Programming

MagmaClustR (version 1.2.1)

proba_max_cluster: Indicates the most probable cluster

Description

Indicates the most probable cluster

Usage

proba_max_cluster(mixture)

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.

Arguments

mixture

A tibble or data frame containing mixture probabilities.

Examples

Run this code
TRUE

Run the code above in your browser using DataLab