View source: R/extendr-wrappers.R
| rust_ward_constrained | R Documentation |
Solve spatially-constrained Ward clustering
rust_ward_constrained(attrs, n_regions, adj_i, adj_j)
attrs |
Attribute matrix (n x p) |
n_regions |
Number of regions to create |
adj_i |
Row indices of adjacency (0-based) |
adj_j |
Column indices of adjacency (0-based) |
List with labels, n_regions, objective
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.