Learn R Programming

migraph (version 0.10.6)

cluster: Methods for equivalence clustering

Description

Methods for equivalence clustering

Usage

cluster_hierarchical(census, distance)

cluster_concor(object, census)

Arguments

census

A matrix returned by a node_*_census() function.

distance

Character string indicating which distance metric to pass on to stats::dist. By default "euclidean", but other options include "maximum", "manhattan", "canberra", "binary", and "minkowski". Fewer, identifiable letters, e.g. "e" for Euclidean, is sufficient.

object

An object of a migraph-consistent class:

  • matrix (adjacency or incidence) from {base} R

  • edgelist, a data frame from {base} R or tibble from {tibble}

  • igraph, from the {igraph} package

  • network, from the {network} package

  • tbl_graph, from the {tidygraph} package

Functions

  • cluster_hierarchical: Returns a hierarchical clustering object created by stats::hclust()

  • cluster_concor: Returns a hierarchical clustering object created from a convergence of correlations procedure (CONCOR)

References

Breiger, Ronald L., Scott A. Boorman, and Phipps Arabie. 1975. "An Algorithm for Clustering Relational Data with Applications to Social Network Analysis and Comparison with Multidimensional Scaling". Journal of Mathematical Psychology, 12: 328-83. tools:::Rd_expr_doi("10.1016/0022-2496(75)90028-0").