geohclust_graph: Hierarchical clustering with contiguity constraints

View source: R/geohclust.R

geohclust_graphR Documentation

Hierarchical clustering with contiguity constraints

Description

This function take an data.frame and performs hierarchical clustering with contiguity constraints using a graph describing the contiguity (provided )

Usage

geohclust_graph(adjacencies_list, df, method = "ward", scaling = "raw")

Arguments

adjacencies_list

graph describing the contiguity between the rows of df as a list of adjacencies

df

a data.frame with numeric columns

method

linkage criterion in ward (default) or average, median

scaling

default scaling of the features in zscore or raw (i.e. no scaling, the default)

Value

an stats::hclust like object with additional slots

data

The numeric data (eventually scaled) used for the clustering

centers

The protoypes of each tree nodes


comeetie/geohclust documentation built on May 23, 2022, 6:30 a.m.