| table {relations} | R Documentation |
Returns a tabular representation of a relation like a “view” of a relational database table.
relation_table(x, memberships = TRUE)
x |
an object inheriting from class relation. |
memberships |
logical; should membership vector (if any) be added to the table? |
An object of class relation_table, inheriting from class
data.frame.
R <- data.frame(Name = c("David", "John"),
Age = c(33, 66),
stringsAsFactors = FALSE)
R <- as.relation(R)
relation_table(R)