setdiff: setdiff.gNode

setdiffR Documentation

setdiff.gNode

Description

Returns a new gNode which is the difference between x and y (node.id's). All arguments must point at the same graph or an error will be thrown.

Returns a new gEdge which is the difference between x and y (edge.id's). All arguments must point at the same graph or an error will be thrown.

Returns a new Junction Object which is the difference between x and y.

Usage

## S4 method for signature 'gNode,gNode'
setdiff(x, y)

## S4 method for signature 'gEdge,gEdge'
setdiff(x, y)

## S4 method for signature 'Junction,Junction'
setdiff(x, y)

Arguments

x

a Junction Object

y

a Junction Object

Value

new gNode Object containing the difference between x and y

new gEdge containing the difference between x and y

new Junction Object containing the difference between x and y

Author(s)

Joe DeRose

Rick Mortensen


mskilab/gGnome documentation built on May 8, 2024, 4:25 p.m.