Skip to contents

Correct for hubs in an adjacency matrix

Usage

hub.correction(obj)

Arguments

obj

matrix (or dgCMatrix) for which hubs are corrected

Value

returns the matrix (or dgCMatrix) with hub correction

Examples

W <- matrix(abs(rnorm(10000)), 100, 100)
cor.hub <- hub.correction(W)