WeightedNetworkStatistics {nemBM}R Documentation

Weighted network statistics

Description

It calculates the weighted network statistics, considering the selected local network mecahnisms and their weights.

Usage

WeightedNetworkStatistics(X, formula, theta, actor, randomSD = 0)

Arguments

X

Binary network; of class matrix.

formula

The list of local netork mechanisms to be considered.

theta

A vector with the mechanisms' weights/strengths.

actor

A unit (actor; row/column number), which have an opportunity to change a link.

randomSD

The srandard deviation of a normal distribution form which the random part of weighed network statistics is sampled.

Value

The data frame with one column and the number of rows equal to the number of units.

Author(s)

Marjan Cugmas and Aleš Žiberna

Examples

formula <- list(mutuality, popularity, OTPtransitivity)
X <- matrix(sample(c(0,1), size = 9**2, replace = TRUE), nrow = 9)
WeightedNetworkStatistics(X = X, formula = formula, theta = c(1, 1, 1), actor = 1)

[Package nemBM version 1.00.01 Index]