group_sizes {netseg}R Documentation

Computing group sizes from square mixing matrices

Description

group_sizes() recomputes group sizes from a full mixing matrix. This is only limited to square (single-attribute) mixing matrices.

Usage

group_sizes(mm, directed = TRUE, loops = FALSE)

Arguments

mm

numeric array with dim of (k,k,2)(k, k, 2) for some kk

directed

logical, whether network is directed

loops

logical, whether loops are allowed

Value

A numeric vector of group sizes


[Package netseg version 1.0-2 Index]