View source: R/CLUSTERING-compare-clusterings.R
pdc_configs | R Documentation |
Create preprocessing, distance and centroid configurations for compare_clusterings_configs()
.
pdc_configs(
type = c("preproc", "distance", "centroid"),
...,
partitional = NULL,
hierarchical = NULL,
fuzzy = NULL,
tadpole = NULL,
share.config = c("p", "h", "f", "t")
)
type |
Which type of function is being targeted by this configuration. |
... |
Any number of named lists with functions and arguments that will be shared by all clusterings. See details. |
partitional |
A named list of lists with functions and arguments for partitional clusterings. |
hierarchical |
A named list of lists with functions and arguments for hierarchical clusterings. |
fuzzy |
A named list of lists with functions and arguments for fuzzy clusterings. |
tadpole |
A named list of lists with functions and arguments for TADPole clusterings. |
share.config |
A character vector specifying which clusterings should include the shared
lists (the ones specified in |
The named lists are interpreted in the following way: the name of the list will be considered to be a function name, and the elements of the list will be the possible parameters for the function. Each function must have at least an empty list. The parameters may be vectors that specify different values to be tested.
For preprocessing, the special name none
signifies no preprocessing.
For centroids, the special name default
leaves the centroid unspecified.
Please see the examples in compare_clusterings()
to see how this is used.
A list for each clustering, each of which includes a data frame with the computed configurations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.