make_partitions {lgspline} | R Documentation |
Create Data Partitions Using Clustering
Description
Partitions data support into clusters using Voronoi-like diagrams.
Usage
make_partitions(
data,
cluster_args,
cluster_on_indicators,
K,
parallel,
cl,
do_not_cluster_on_these,
neighbor_tolerance
)
Arguments
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 |
Value
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
[Package lgspline version 0.2.0 Index]