Learn R Programming

influential (version 0.1.0)

ihs: Integrated hubness score (IHS)

Description

This function calculates the IHS of the desired nodes. This function is not dependent to other packages and the required centrality measures, namely degree centrality, betweenness centrality and neighborhood connectivity could have been calculated by any means beforehand.

Usage

ihs(DC, BC, NC)

Arguments

DC

A vector containing the values of degree centrality of the desired vertices.

BC

A vector containing the values of betweenness centrality of the desired vertices.

NC

A vector containing the values of neighborhood connectivity of the desired vertices.

Value

A numeric vector with the IHS score based on the provided centrality measures.

Examples

Run this code
# NOT RUN {
MyData <- centrality.measures
My.vertices.IHS <- ihs(DC = centrality.measures$Degree,
                       BC = centrality.measures$BetweennessCentrality,
                       NC = centrality.measures$NeighborhoodConnectivity)
# }

Run the code above in your browser using DataLab