nNodes: Number of nodes.

Description Usage Arguments Value See Also Examples

View source: R/properties.R

Description

A generic to get the number of nodes of a graph object.

Usage

1
  nNodes(x, ...)

Arguments

x

A graph object

...

Further arguments, passed to method

Value

The number of nodes in parental, an integer.

See Also

nNodes.parental

Examples

1
2
x <- parental(c(), c(3), c(1), c(1, 2))
nNodes(x)

rjbgoudie/parental documentation built on May 27, 2019, 9:11 a.m.