find.segments: find.segments

Description Usage Arguments Value

View source: R/analytical_functions.R

Description

An algorithm for creating discrete groups or segments on the basis of a weighted network and a mobility table

Usage

1
2
find.segments(mat, cliques, cut.off = 1, mode = "symmetric",
  delete.upper.tri = TRUE)

Arguments

mat

is the mobility table with row and column margins

cliques

is a list of cliques

cut.off

is the minimum weight or relative risk accepted as a network tie

mode

defines whether mat is symmetric. If mode is "Mutual" - ties are only created for mutual relations. If mode is "Unmutual", relations are not required to be mutual to result in a tie.

delete.upper.tri

defines whether the upper triangle of the matrix is to be deleted. This results in speed gains.

Value

membership - a numeric vector with discrete group memberships for each row in the matrix.

cliques a list of row indices for each clique


antongrau/MONECA documentation built on Sept. 17, 2019, 5:52 a.m.