as_tibble.alias.matrix: Convert an alias matrix to a tibble

as_tibble.alias.matrixR Documentation

Convert an alias matrix to a tibble

Description

Given an alias matrix, this function returns a tidy tibble of the alias structures, with the added generator column containing the generator (i.e. right-hand side) of the defining relationship that generates each alias.

Usage

## S3 method for class 'alias.matrix'
as_tibble(x, ..., compact = TRUE)

Arguments

x

the alias matrix object.

...

additional arguments to as_tibble.

compact

a logical: if TRUE, it reports all possible effects combinations, even those with no alias.

Value

a tibble representation of the alias matrix

Examples

tibble::as_tibble(fp_alias_matrix(~A*B*C, ~B*C*D))

adas.utils documentation built on April 12, 2025, 1:52 a.m.