relations (version 0.6-8)

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 relation_is() for all predicate functions defined on relations.

Examples

Run this code
# NOT RUN {
x <- as.relation(1 : 3)
relation_properties(x)
relation_property(x, "is_endorelation")
# }
# NOT RUN {
<!-- % relation_property(x, "is_linear_order") -->
# }
# NOT RUN {
<!-- % relation_property(x, "is_linear_order") <- relation_is(x, "linear_order") -->
# }
# NOT RUN {
<!-- % relation_property(x, "is_linear_order") -->
# }

Run the code above in your browser using DataCamp Workspace