check_edge_type: Check if edge object could be in given format

check_edge_typeR Documentation

Check if edge object could be in given format

Description

Check if edge object could be in given format

Usage

is.edgeMatrix(object, n, checknm = TRUE)

is.eList(object, n, checknm = TRUE)

is.adjMatrix(object, n, checknm = TRUE)

is.adjList(object, n, checknm = TRUE)

Arguments

object

item of purported type

n

(optionally) number of vertices in graph

checknm

logical: use class of object to determine answer?

Functions

  • is.edgeMatrix(): check if could be edgeMatrix

  • is.eList(): check if could be eList

  • is.adjMatrix(): check if could be adjMatrix

  • is.adjList(): check if could be adjList


rje42/MixedGraphs documentation built on March 29, 2025, 11:47 p.m.