lp_dice: Link prediction with Dice'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 Dice link predictor.

Usage

1

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

Dice, L. R. (1945) Measures of the amount of ecologic association between species. Ecology 26(3):297-302

Examples

1
2
# Apply the Dice link predictor to the Zachary Karate Club network
dice <- lp_dice(g = karate_club)

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