Learn R Programming

relations (version 0.2-0)

graph: Relation Graph

Description

Determine the graph of a relation.

Usage

relation_graph(x)

Arguments

x
an Robject inheriting from class relation.

Value

  • An object of class relation_graph, inheriting from set.

See Also

set; relation; relation_graph<- for modifying the graph.

Examples

Run this code
## A simple relation:
R <- as.relation(c(A = 1, B = 2, C = 3))
relation_graph(R)

Run the code above in your browser using DataLab