names.mathgraph: Edge Names in a Mathematical Graph

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Sets or returns the names (corresponding to the edges) of a mathematical graph represented by a mathgraph object.

Usage

1
2
3
4
## S3 method for class 'mathgraph'
names(x)
## S3 replacement method for class 'mathgraph'
names(x) <- value

Arguments

x

an object inheriting from mathgraph.

value

a value to be assigned to the names of the mathgraph.

Details

In the assignment form, the names are created or changed.

Value

Character vector of the names.

Author(s)

Nick Efthymiou

References

S Poetry, Patrick J. Burns, Section 13.3 Mathematical Graphs, http://www.burns-stat.com/pages/spoetry.html

See Also

mathgraph

Examples

1
2
3
4
5
jjm <- mathgraph(~ 1:3 * 2:4)
jjm
names(jjm) <- letters[1:length(jjm)]
jjm
names(jjm)

mathgraph documentation built on May 2, 2019, 11:04 a.m.