edgeDataDefaults-methods {graph} | R Documentation |
Set default values for attributes associated with the edges of a graph.
edgeDataDefaults(self, attr) edgeDataDefaults(self, attr) <- value
self |
A graph-class instance |
attr |
A character vector of length one giving the name of
the attribute |
value |
An R class to use as the default value for the specified attribute |