group_sizes: Computing group sizes from square mixing matrices

View source: R/group_sizes.R

group_sizesR 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) for some k

directed

logical, whether network is directed

loops

logical, whether loops are allowed

Value

A numeric vector of group sizes


netseg documentation built on July 9, 2023, 6:33 p.m.