attrDefaults-methods

Get and set the default attributes of an attrData object

The attrDefaults method provides access to a attrData-class object's default attribute list. The default attribute list of a attrData-class object defines what attributes can be customized for individual data elements by defining attribute names and default values.

Keywords
methods
Usage
attrDefaults(self, attr) attrDefaults(self, attr) <- value
Arguments
self
A attrData-class instance
attr
A character vector of length 1 giving the name of an attribute. Can be missing.
value
An R object that will be used as the default value of the specified attribute, or a named list of attribute name/default value pairs if attr is missing.
Aliases
  • attrDefaults-methods
  • attrDefaults<--methods
  • attrDefaults
  • attrDefaults<-
Documentation reproduced from package graph, version 1.50.0, License: Artistic-2.0

Community examples

Looks like there are no examples yet.