as_tibble.alias.matrix {adas.utils}R 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))

[Package adas.utils version 1.2.0 Index]