table: Relation Table

tableR Documentation

Relation Table

Description

Returns a tabular representation of a relation like a “view” of a relational database table.

Usage

relation_table(x, memberships = TRUE)

Arguments

x

an object inheriting from class relation.

memberships

logical; should membership vector (if any) be added to the table?

Value

An object of class relation_table, inheriting from class data.frame.

See Also

relation_join()

Examples

R <- data.frame(Name = c("David", "John"),
                Age = c(33, 66),
                stringsAsFactors = FALSE)
R <- as.relation(R)
relation_table(R)

relations documentation built on March 7, 2023, 8:01 p.m.