sqrt_WDiag {simplifyNet}R Documentation

Diagonal, m by m, weight matrix with sqrt(w_e) on the diagonal.

Description

Calculate the m by m diagonal weight matrix, W, for an inputted graph with sqrt(w_e) on the diagonal.

Usage

sqrt_WDiag(weights)

Arguments

weights

List of edges corresponding to edge list.

Details

Intended as internal function.

Value

Return diagonal weight matrix, W, with \sqrt(w_e) on the diagonal.

Author(s)

Alexander Mercier


[Package simplifyNet version 0.0.1 Index]