unique.mathgraph {mathgraph} | R Documentation |
Returns a mathgraph
object that may have fewer edges than the input.
## S3 method for class 'mathgraph': unique(x, incomparables = FALSE, ...)
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. |
An object that is the same class as the input x
, but redundant edges
are removed.
Nick Efthymiou
S Poetry, Patrick J. Burns, Section 13.3
unique( c(mathgraph(~ 1:2*2:3), mathgraph(~ 1/3)) )