Description Usage Arguments Value Examples
Show for each cluster from kmeans analysis the sample names belonging to them.
1 | kmeans_result_df(kmeans.result)
|
kmeans.result |
object of class kmeans with the clustering results. |
Data frame with the clusters and the samples' names that belong to each one.
1 2 3 4 5 6 | ## Example of showing kmeans cluster's members
library(specmine.datasets)
data(cachexia)
kmeans.result = kmeans_clustering(cachexia,
num.clusters = 4, type = "samples")
kmeans_result_df(kmeans.result)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.