get_classification function

get_classification

get_classification

Classification based on clustering

get_classification(cluster_results, data_classify)

Arguments

  • 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

Returns

a list containing the classification as "clustermembership" and the probabilities of belonging to the clusters as "allrelativeprobabs"

Examples

# 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)
  • Maintainer: Fritz Bayer
  • License: GPL-3
  • Last published: 2024-02-14

Useful links