dyadic_census: Dyad census

View source: R/census.R

dyadic_censusR Documentation

Dyad census

Description

Dyad census

Usage

dyadic_census(G, directed = TRUE, loops = FALSE)

Arguments

G

A symmetric matrix object.

directed

Whether the matrix is directed or not

loops

Whether to expect nonzero elements in the diagonal of the matrix

Value

This function return the counts of the dyad census.

Author(s)

Alejandro Espinosa-Rada

References

Wasserman, S. and Faust, K. (1994). Social network analysis: Methods and applications. Cambridge University Press.

Examples


data(krackhardt_friends)
dyadic_census(krackhardt_friends)

data(FIFAin)
dyadic_census(FIFAin[[1]], directed = FALSE)

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