fp_txt_where: Selector-based text gp

View source: R/text_styling.R

fp_txt_whereR Documentation

Selector-based text gp

Description

Apply grid::gpar() settings to selected cells in a gforge_forestplot object.

Usage

fp_txt_where(x, gp, rows = NULL, cols = NULL, where = NULL)

Arguments

x

A gforge_forestplot object.

gp

A grid::gpar() style to apply.

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.