Learn R Programming

diffusr (version 0.1.4)

hub.correction: Correct for hubs in an adjacency matrix

Description

Correct for hubs in an adjacency matrix

Usage

hub.correction(obj)

Arguments

obj

matrix for which hubs are corrected

Value

returns the matrix with hub correction

Examples

Run this code
# NOT RUN {
 W <- matrix(abs(rnorm(10000)), 100, 100)
 cor.hub <- hub.correction(W)
# }

Run the code above in your browser using DataLab