gtclust_poly_dcsbm: Hierarchical clustering with contiguity constraints

View source: R/gtclust.R

gtclust_poly_dcsbmR 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

gtclust_poly_dcsbm(
  poly.sf,
  ods,
  join_ori,
  join_dest,
  vol,
  lambda_in = sum(ods[vol])/(nrow(poly.sf)^2) * 100,
  lambda_ext = sum(ods[vol])/(nrow(poly.sf)^2)/100,
  adjacency = "rook",
  display_progress = FALSE
)

Arguments

display_progress

boolean to set progression bar

adjacencies_list

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

triplet

graph to fit with dcsbm in triplet fromat

Value

an hclust like object with additional slots

data

The numeric data (eventually scaled) used for the clustering

centers

The protoypes of each tree nodes


comeetie/gtclust documentation built on Sept. 17, 2024, 12:45 a.m.