Skip to contents

ggstack is an alias of layout_stack.

Usage

layout_stack(data, direction = NULL, ...)

ggstack(data, direction = NULL, ...)

Arguments

data

A numeric or character vector, a data frame, or a matrix.

direction

A string of "horizontal" or "vertical", indicates the direction of the stack layout.

...

Not used currently.

Value

A StackLayout object.

Examples

ggstack(matrix(rnorm(100L), nrow = 10L)) + align_dendro()