Learn R Programming

adas.utils (version 1.0.0)

plot.alias.matrix: Plot the alias matrix

Description

Produces a tile plot of the alias matrix.

Usage

# S3 method for alias.matrix
plot(x, ..., compact = TRUE)

Value

a ggplot object.

Arguments

x

an alias matrix.

...

additional arguments to ggplot2::geom_tile().

compact

logical, if TRUE only positive aliases are shown, omitting empty rows and columns.

Examples

Run this code
fp_alias_matrix(~A*B*C, ~B*C*D) %>%
  plot()

Run the code above in your browser using DataLab