edgeDataDefaults-methods

Get and set default attributes for the edges of a graph

Set default values for attributes associated with the edges of a graph.

Keywords
methods
Usage
edgeDataDefaults(self, attr) edgeDataDefaults(self, attr) <- value
Arguments
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
Aliases
  • edgeDataDefaults-methods
  • edgeDataDefaults<--methods
  • edgeDataDefaults
  • edgeDataDefaults<-
Documentation reproduced from package graph, version 1.50.0, License: Artistic-2.0

Community examples

Looks like there are no examples yet.