ego_net | R Documentation |
Submatrix of ego's neighbourhoods
ego_net(
A,
ego = NULL,
bipartite = FALSE,
addEgo = FALSE,
select = c("all", "in", "out")
)
A |
A symmetric matrix object |
ego |
Name of ego in the matrix |
bipartite |
Whether the matrix is a two-mode network |
addEgo |
Whether to retain ego in the submatrix or not |
select |
Whether to consider all sender and receiver ties of ego ( |
This function returns redundancy, effective size and efficincy measures (Burt, 1992).
Alejandro Espinosa-Rada
Burt, R.S., 1992. Structural Holes: the Social Structure of Competition. Harvard University Press, Cambridge.
Borgatti, S., 1997. Unpacking Burt's redundancy measure. Connections, 20(1): 35-38. doi: http://www.analytictech.com/connections/v20(1)/holes.htm
A <- matrix(c(
0, 1, 0, 0, 1, 1, 1,
1, 0, 0, 1, 0, 0, 1,
0, 0, 0, 0, 0, 0, 1,
0, 1, 0, 0, 0, 0, 1,
1, 0, 0, 0, 0, 0, 1,
1, 0, 0, 0, 0, 0, 1,
1, 1, 1, 1, 1, 1, 0
), ncol = 7, byrow = TRUE)
rownames(A) <- letters[1:nrow(A)]
colnames(A) <- letters[1:ncol(A)]
ego_net(A, ego = "g")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.