do.you.know: Do you know?

Description Usage Arguments Value Examples

Description

Find out how well two groups of people know each other

Usage

1
do.you.know(graph, you, people, how.well = 1)

Arguments

graph

a igraph network object created with the /linkelite.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 tie is. The higher the weaker.

Value

a numeric vector with the /linkgraph.strength of the individuals named in "you". The graph strength is the sum of weighted edges within the group "people".

Examples

1
2
3
4
5
6
7
8
library(soc.elite)
data(den)
data(pe13)
graph         <- elite.network(den)
you           <- pe13$Name
people        <- has.tags(den, tags = c("Political party"))
how.well      <- 2
do.you.know(graph, you, people, how.well)

antongrau/soc.elite documentation built on May 10, 2019, 12:25 p.m.