Learn R Programming

simplifyNet (version 0.0.1)

WDiag: Diagonal, m by m, weight matrix

Description

Calculate the m by m diagonal weight matrix, W, for an imputed graph.

Usage

WDiag(weights)

Value

Return diagonal weight matrix, W.

Arguments

weights

List of edges corresponding to edge list.

Author

Alexander Mercier

Details

Intended as internal function.