E_to_Y {VBLPCM}R Documentation

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)

Arguments

N

number of nodes

NE

number of edges

directed

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

E

the input edgelist

Value

NxN sociomatrix / adjacency matrix

Author(s)

Michael Salter-Townshend

See Also

sociomatrix, Y_to_E


[Package VBLPCM version 2.4.9 Index]