Learn R Programming

SIMMS (version 1.3.2)

make.matrix: Utility function used by get.adjacency.matrix()

Description

Utility function used by get.adjacency.matrix()

Usage

make.matrix(vertices, interactions)

Arguments

vertices

Comma separated list of nodes

interactions

Comma separated list of edges

Value

Returns adjacency matrix

Examples

Run this code
# NOT RUN {
x1 <- make.matrix("a,b,c", "a:b,b:c");

# }

Run the code above in your browser using DataLab