Get a RGraph2js compatible adjacency matrix from the provided R object.

Description

Get a RGraph2js compatible adjacency matrix from the provided R object.

Usage

1

Arguments

A

signed weighted adjacency matrix or an instance of the class graphAM, graphBAM, graphNEL or clusterGraph from the graph package

Value

the RGraph2js compatible adjacency matrix

Author(s)

Stephane Cano stephane.cano@pmi.com, PMP SA.