Learn R Programming

VBLPCM (version 2.4.9)

E_to_Y: create an adjacency matrix from an edgelist.

Description

uses a call to C to transform edgelist to adjacency matrix.

Usage

E_to_Y(N, NE, directed, E)

Value

NxN sociomatrix / adjacency matrix

Arguments

N

number of nodes

NE

number of edges

directed

logical indicator of directedness (TRUE=>directed, FALSE=>undirected

E

the input edgelist

Author

Michael Salter-Townshend

See Also

sociomatrix, Y_to_E