minmax_overlap: Minimum/maximum overlap

View source: R/utilities.R

minmax_overlapR Documentation

Minimum/maximum overlap

Description

Two-mode networks can be represented (or 'projected') as one-mode networks.

Usage

minmax_overlap(A, row = TRUE, min = TRUE)

Arguments

A

A matrix object

row

Whether to consider the actors in the rows of the matrix (default) or the column.

min

Whether to extract the minimum (default) or the maximum overlap.

Value

This function return the overlap between the modes (a.k.a. actors, nodes, vertices).

Author(s)

Alejandro Espinosa-Rada

References

Morris, S.A. (2005). Unified Mathematical Treatment of Complex Cascaded Bipartite Networks: The Case of Collections of Journal Papers. Unpub- lished PhD Thesis, Oklahoma State University. Retrieved from http://digital.library.okstate.edu/etd/umi-okstate-1334.pdf

Examples


A <- matrix(c(
  2, 0, 2,
  1, 1, 0,
  0, 3, 3,
  0, 2, 2,
  0, 0, 1
), byrow = TRUE, ncol = 3)
minmax_overlap(A)

anespinosa/netmem documentation built on April 5, 2025, 5:02 p.m.