checkGraphtype: Check graph input type (for whether it's a graph or a...

Description Usage Arguments Value

View source: R/endogenousstats.R

Description

Returns TRUE if the supplied object graph is an adjacency matrix. Returns FALSE if the provided object is an edgelist. The function checks whether the edgelist conforms to our standards (sender, target, edgecount).

Usage

1

Arguments

graph

A graph adjacency matrix or an edgelist.

Value

TRUE or FALSE. Returns TRUE if the provided object graph is an adjacency matrix.


ghypernet documentation built on Oct. 15, 2021, 5:14 p.m.