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