getAdjMat {RGraph2js} | R Documentation

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

### Description

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

### Usage

    getAdjMat(A)

### 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.

[Package RGraph2js version 1.16.0 Index]