unique.mathgraph: Unique Edges of a Mathematical Graph

Description Usage Arguments Value Author(s) References See Also Examples

Description

Returns a mathgraph object that may have fewer edges than the input.

Usage

1
2
## S3 method for class 'mathgraph'
unique(x, incomparables = FALSE, ...)

Arguments

x

an object that inherits from mathgraph.

incomparables

a vector of values that cannot be compared. The only possible value is FALSE, meaning that all values can be compared.

...

other arguments for generic function.

Value

An object that is the same class as the input x, but redundant edges are removed.

Author(s)

Nick Efthymiou

References

S Poetry, Patrick J. Burns, Section 13.3

See Also

mathgraph

Examples

1
unique( c(mathgraph(~ 1:2*2:3), mathgraph(~ 1/3)) )

ClausDethlefsen/mathgraph documentation built on May 25, 2019, 1:36 p.m.