Skip to contents

Set Up a Panel Layout

Usage

setup_PanelLayout(ncol = 1L, gap = 12, padding = 0)

Arguments

ncol

Integer [1, Inf): Number of columns.

gap

Numeric [0, Inf): Finite gap between cells in pixels.

padding

Numeric [0, Inf): Finite outer padding in pixels.

Value

PanelLayout: Validated settings.

Examples

setup_PanelLayout(ncol = 2, gap = 16)
#> <PanelLayout>
#> 
#>      ncol: <int> 2
#>       gap: <nmr> 16.00
#>   padding: <nmr> 0.00
#>