Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

edgeDataDefaults-methods

Get and set default attributes for the edges of a graph


Description

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

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


graph

graph: A package to handle graph data structures

v1.68.0
Artistic-2.0
Authors
R. Gentleman, Elizabeth Whalen, W. Huber, S. Falcon
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.