powered by
edgeT(x)
Pattison, P.E. Algebraic Models for Social Networks. Cambridge University Press. 1993.
wordT
semigroup
## Create the data: 2 binary relations among 3 elements arr <- round( replace( array(runif(18), c(3,3,2)), array(runif(18), c(3,3,2))>.5, 1 ) ) ## get the edge table edgeT(arr)
Run the code above in your browser using DataLab