Normalize: Normalize Weights

Description Usage Arguments Value

Description

Normalize Weights

Usage

1
Normalize(x, weights = rlang::missing_arg())

Arguments

x

A data frame or tibble.

weights

The unquoted name of a numeric column in x whose values will be shaped into a square adjacency matrix.

Value

A data frame that is like x, except that the values of the weights variable, W(i,j) have been normalized such that W_tilde(i, j) = (i/n) * (W(i,j) / sqrt(E_x[W(i,x)] * E_x[W(j,x)])).


patrickreidy/phoneigen documentation built on May 20, 2019, 10:22 p.m.