coerce_to_adjacency {networktools}R Documentation

Coerce to adjacency matrix

Description

Takes an object of type "qgraph", "igraph", or an adjacency matrix (or data.frame) 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


[Package networktools version 1.5.2 Index]