Skip to contents

Produces a two-element named list of pr_mask objects dividing the layout along the specified axis.

Usage

pr_mask_symmetry(layout, axis = c("vertical", "horizontal"))

Arguments

layout

A pr_layout object.

axis

Character. "vertical" (default, split columns into left/right) or "horizontal" (split rows into anterior/posterior).

Value

A named list of two pr_mask objects.

Examples

pr_mask_symmetry(pr_layout_saddle("horse"))
#> $left
#> 
#> ── pr_mask: left ──
#> 
#> • Layout: "saddle_horse"
#> • Grid: 16 x 16
#> • Sensors covered: 124
#> 
#> $right
#> 
#> ── pr_mask: right ──
#> 
#> • Layout: "saddle_horse"
#> • Grid: 16 x 16
#> • Sensors covered: 124
#>