Skip to contents

Compute clustering of spatial entities based on HCA on distance matrix of the coordinates of PCA.

Usage

mafa_clustering(sf, pca_center, pca_scale, hca_method)

Arguments

sf

sf object.

pca_center

logical or numeric value indicating whether columns should be centered as in as in dudi.pca().

pca_scale

logical value indicating whether columns should be scaled as in dudi.pca().

hca_method

character string defining the clustering method as implemented in hclust() of fastcluster package: "single", "average", "complete", "ward.D", "ward.D2", "mcquitty", "centroid" or "median".

Value

clustering object of class hclust.