do.you.know | R Documentation |
Find out how well members of a network knows a group of people. This is very much like degree or strength where you only count connections to people within a selected group.
## S3 method for class 'you.know'
do(graph, you, people, how.well = 1)
graph |
a igraph network object created with the elite.network function. |
you |
a character vector of names present in graph |
people |
a character vector of names preferably present in graph |
how.well |
a number that says how weak the weakest considered edge is. Edge weight is considered social distance and there higher is weaker. |
a numeric vector with the graph.strength of the individuals named in "you". The graph strength is the sum of weighted edges within the group "people".
reach, vertex.measures, graph.strength, degree
library(soc.elite)
data(den)
data(pe13)
graph <- elite.network(den)
you <- pe13$Name
people <- has.tags(den, tags = c("Political party"))
do.you.know(graph, you, people, how.well = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.