fp_span_where: Selector-based spanning

View source: R/text_styling.R

fp_span_whereR Documentation

Selector-based spanning

Description

Apply span attributes to selected cells in a gforge_forestplot object.

Usage

fp_span_where(x, columns, rows = NULL, cols = NULL, where = NULL)

Arguments

x

A gforge_forestplot object.

columns

Integer vector of target columns to span.

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.