names.mathgraph {mathgraph} | R Documentation |
Sets or returns the names (corresponding to the edges) of a mathematical
graph represented by a mathgraph
object.
## S3 method for class 'mathgraph': names(x) ## S3 method for class 'mathgraph': names(x) <- value
x |
an object inheriting from mathgraph . |
value |
a value to be assigned to the names of the mathgraph . |
In the assignment form, the names are created or changed.
Character vector of the names.
Nick Efthymiou
S Poetry, Patrick J. Burns, Section 13.3 Mathematical Graphs, http://www.burns-stat.com/pages/spoetry.html
jjm <- mathgraph(~ 1:3 * 2:4) jjm names(jjm) <- letters[1:length(jjm)] jjm names(jjm)