dw_assort {wdnet}R Documentation

Compute the assortativity coefficient of a weighted and directed network.

Description

Compute the assortativity coefficient of a weighted and directed network.

Usage

dw_assort(adj, type = c("outin", "inin", "outout", "inout"))

Arguments

adj

is an adjacency matrix of a weighted and directed network.

type

which type of assortativity coefficient to compute: "outin" (default), "inin", "outout" or "inout"?

Value

a scalar of assortativity coefficient

Note

When the adjacency matrix is binary (i.e., directed but unweighted networks), dw_assort returns the assortativity coefficient proposed in Foster et al. (2010).

References


[Package wdnet version 1.2.3 Index]