Skip to contents

Get the statistics from the layout

Usage

ggalign_stat(x, ...)

# S3 method for class 'QuadLayout'
ggalign_stat(x, position, ...)

# S3 method for class 'StackLayout'
ggalign_stat(x, what, ...)

Arguments

x

A quad_layout()/ggheatmap() or stack_layout() object.

...

Arguments passed to methods.

position

A string of "top", "left", "bottom", or "right".

what

A single number or string of the plot elements in the stack layout.

Value

The statistics