OTPtransitivity | R Documentation |
Calculates the network statistic according to the outgoing two path mechanism.
OTPtransitivity(X, actor)
X |
Binary network; of class |
actor |
A unit (actor; row/column number), which have an opportunity to change a link. |
A vector with the number of paths of length two between the actor and other units.
Marjan Cugmas and Aleš Žiberna
Cugmas, M., & Žiberna, A. (2022). Approaches to blockmodeling dynamic networks: a Monte Carlo simulation study. Social Networks, in print.
X <- matrix(sample(c(0,1), size = 9**2, replace = TRUE), nrow = 9) OTPtransitivity(X, actor = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.