Learn R Programming

relations (version 0.2-0)

properties: Relation Properties

Description

Retrieve relation properties.

Usage

relation_properties(x)
relation_property(x, which)

Arguments

x
A relation.
which
Property name (character string).

Details

These functions are used for the extrinsic properties of relations. Others can be retrieved using the predicate functions.

See Also

relation and, e.g., relation_is_binary for all predicate functions defined on relations.

Examples

Run this code
x <- as.relation(1 : 3)
relation_properties(x)
relation_property(x, "is_endorelation")

Run the code above in your browser using DataLab