layout_stack {ggalign}R Documentation

Put plots horizontally or vertically

Description

ggstack is an alias of layout_stack.

Usage

layout_stack(data, direction = NULL, ..., environment = parent.frame())

ggstack(data, direction = NULL, ..., environment = parent.frame())

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.

environment

[Deprecated] Used prior to tidy evaluation.

Value

A StackLayout object.

Examples

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

[Package ggalign version 0.0.3 Index]