Learn R Programming

fsbrain (version 1.0.0)

connectivity.matrix.from.edge.list: Convert an edge list to a connectivity matrix.

Description

Convert an edge list to a connectivity matrix.

Usage

connectivity.matrix.from.edge.list(edge_list)

Value

named list with entries 'matrix' (the connectivity matrix) and 'names' (the node names).

Arguments

edge_list

data.frame with the columns 'source', 'target' and 'weight'.