50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

networktools (version 1.1.0)

coerce_to_adjacency: Coerce to adjacency matrix

Description

Takes an object of type "qgraph", "igraph", or a matrix and outputs an adjacency matrix

Usage

coerce_to_adjacency(input, directed = NULL)

Arguments

input

a network of class "igraph", "qgraph", or an adjacency matrix representing a network

directed

logical. is the network directed? If set to NULL, auto-detection is used