lp_aa: Link prediction with Adamic and Adar's index

Description Usage Arguments Value Author(s) References Examples

View source: R/link_predictors.R

Description

Given a network of interest, it computes the likelihood score of interaction, for all disconnected node pairs, with the Adamic and Adar link predictor.

Usage

1
lp_aa(g)

Arguments

g

igraph; The network of interest.

Value

Tibble with the following columns:

nodeA

The ID of a network node.

nodeB

The ID of a network node.

scr

The likelihood score of interaction for the node pair.

Author(s)

Gregorio Alanis-Lobato galanisl@uni-mainz.de

References

Adamic, L. and Adar, E. (2003) Friends and neighbors on the Web. Social Networks 25(3):211-230

Examples

1
2
# Apply the Adamic and Adar link predictor to the Zachary Karate Club network
aa <- lp_aa(g = karate_club)

galanisl/LinkPrediction documentation built on May 17, 2019, 12:10 p.m.