gs.as_adj: From Graph Helper

Description Usage Arguments Value Author(s)

Description

function to standardize format internally for usage with n by n adjacency matrices

Usage

1
gs.as_adj(g, edge.attr = NULL)

Arguments

g

an igraph object or an adjacency matrix.

edge.attr

if g is an igraph object, the name of the edge attribute to use for weights.

Value

An adjacency matrix corresponding to the graph.

Author(s)

Eric Bridgeford


neurodata/graphstats documentation built on May 14, 2019, 5:19 p.m.