get_classification | R Documentation |
Classification based on clustering
get_classification(cluster_results, data_classify)
cluster_results |
Output from get_clusters() |
data_classify |
Data that should be classified; colnames need to match the ones of cluster_results$data; missing cols are allowed |
a list containing the classification as "clustermembership" and the probabilities of belonging to the clusters as "allrelativeprobabs"
# choose data
sampled_data <- sampleData(n_vars = 15, n_samples = c(300,300,300))$sampled_data
# learn clusters
cluster_results <- get_clusters(sampled_data)
# visualize the networks
classification_results <- get_classification(cluster_results, sampled_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.