graph: The graph Object

Description Usage Arguments Examples

View source: R/graph.R

Description

This object represents a graph and has class methods for easy manipulation.

The graph class has the following class methods:

Usage

1
graph(n)

Arguments

amountOfNodes

The Number of nodes to make a graph with.

isGraphDirected

Create directed graph? Default is TRUE.

Examples

1
2
3
4
## Not run: 
  A <- graph(6)

## End(Not run)

robert-horne/SPAP documentation built on May 21, 2019, 10:09 a.m.