Learn R Programming

relations (version 0.6-13)

graph: Relation Graph

Description

Determine the graph of a relation.

Usage

relation_graph(x)

Value

An object of class relation_graph, inheriting from

set.

Arguments

x

an R object inheriting from class relation.

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