relations (version 0.6-8)

table: 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

Run this code
# NOT RUN {
R <- data.frame(Name = c("David", "John"),
                Age = c(33, 66),
                stringsAsFactors = FALSE)
R <- as.relation(R)
relation_table(R)
# }

Run the code above in your browser using DataLab