R: Relation Table

table {relations} | R 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)

[Package relations version 0.6-7 Index]