View source: R/HelperFunctions.R
make_partitions | R Documentation |
Partitions data support into clusters using Voronoi-like diagrams.
make_partitions(
data,
cluster_args,
cluster_on_indicators,
K,
parallel,
cl,
do_not_cluster_on_these,
neighbor_tolerance
)
data |
Numeric matrix of predictor variables |
cluster_args |
Parameters for clustering |
cluster_on_indicators |
Logical to include binary predictors |
K |
Number of partitions minus 1 ( |
parallel |
Logical to enable parallel processing |
cl |
Cluster object for parallel computation |
do_not_cluster_on_these |
Columns to exclude from clustering |
neighbor_tolerance |
Scaling factor for neighbor detection |
A list containing: - centers: Cluster center coordinates - knots: Knot points between centers - assign_partition: Function to assign new data to partitions - neighbors: List of neighboring partition indices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.