popularity {nemBM}R Documentation

Popularity mechanism

Description

Calculate the normalized network statistic according to the popularity mechanism.

Usage

popularity(X, actor = NULL)

Arguments

X

Binary network; of class matrix.

actor

Not used by the function, set to NULL. Necessary for using within other functions, e.g. nemBM.

Value

A vector with the normalized popularity mechanism, cacluated for each unit.

Author(s)

Marjan Cugmas and Aleš Žiberna

References

Cugmas, M., & Žiberna, A. (2022). Approaches to blockmodeling dynamic networks: a Monte Carlo simulation study. Social Networks, in print.

Examples

X <- matrix(sample(c(0,1), size = 9**2, replace = TRUE), nrow = 9)
popularity(X)

[Package nemBM version 1.00.01 Index]