fp_align_where: Selector-based alignment

View source: R/text_styling.R

fp_align_whereR Documentation

Selector-based alignment

Description

Apply alignment to selected cells in a gforge_forestplot object. This is intended for pipe-first workflows where styling is applied after building the plot object.

Usage

fp_align_where(x, align, rows = NULL, cols = NULL, where = NULL)

Arguments

x

A gforge_forestplot object.

align

One of "l", "c", or "r".

rows

Optional row selector (NULL, numeric indices, or logical vector).

cols

Optional column selector (NULL, numeric indices, logical vector, or column names).

where

Optional row predicate supplied as a function or one-sided formula, e.g. ~ type %in% c("header", "subtotal").

Value

A modified gforge_forestplot object.


forestplot documentation built on March 4, 2026, 9:06 a.m.