Description Usage Arguments Details Value Author(s) See Also Examples
The hierarchical clustering methods for the constraint of spatial homogeneity.
1 | HierarchicalVoronoi(constraint_domain, optimization_domain, linkage, iterate)
|
constraint_domain: |
'[matrix]': The geometry location of the data. |
optimization_domain: |
'[matrix]': The spatial feature of the data. |
linkage: |
'[character]': The valid arguments are "single", "complete", "average", "median", "ward", "centroid" and "weighted". |
diss: |
'[character]': Set diss = "precomputed" for input optimization_domain as a distance matrix |
adjacency: |
'[boolean]': Set adjacency = T for input constaraint_domain as an adjacency matrix |
dist_method: |
'[character]': The distance measurement for pairs of points, default is "euclidean" |
The function is used to solve the dual problem. A dual problem is to minimize the cost of the spatial feature domain or the domain of your data attribute, at the meanwhile, we are expect that the cluster of geometry domain or constraint domain will form a compact region, namely, each cluster is bounded by some irregular curves and not overlap for each pairs of clusters. To achieve the goal, one is to consider the spatial homogeneity for spatial data, and HCV algorithm is following the idea of constructing the Delaunay triangulation and Voronoi diagram to make an approach for spatially homogeneity.
A 'hclust' object.
DongDong-Zoez <lbry5230100@gmail.com> University of Taiwan NSYSU.
'synthetic_data', 'SMI'
1 2 3 | # data <- synthetic_data(5, 4, 0.15, 1000, 2)
# result <- HierarchicalVoronoi(data$geo, data$feat, 'ward.D', 2)
# labels <- cutree(result, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.