Description Usage Arguments Value Examples
View source: R/partition_generation.R
Generates a partition using clust.algo
algorithm, with k.crit
for selecting the number of clusters
1 | partition_generation(data, LOG, clust.algo, k.crit)
|
data |
dataframe to cluster |
LOG |
logical. Should all columns of the dataset be logged before applying clustering algorithms? |
clust.algo |
vector of strings: name of clustering algorithms to use
(use |
k.crit |
string. Criterion to select the optimal number of clusters (for
each imputed dataset). Use |
a dataframe with one column for each algorithm in clust.algo
,
containing the cluster IDs.
1 2 | partition_generation(iris[, 1:4], LOG = FALSE,
clust.algo = c("km", "hc"), k.crit = "ch")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.