addVertex.adjMatrixGraph: A Graph Function

Description Usage Arguments Value

Description

This function adds a vertex.

Usage

1
2
## S3 method for class 'adjMatrixGraph'
addVertex(graph, vertex)

Arguments

graph

the graph obj

vertex

the new vertex to add

Value

a list containing the new graph and whether an operation was performed


TheBell/Graph documentation built on May 5, 2019, 4:48 p.m.