wrap_label: Graphical Text Wrap

View source: R/graphs_utils.R

wrap_labelR Documentation

Graphical Text Wrap

Description

Wraps text grob label into multiple lines

Usage

wrap_label(label, split = "\\s", max_width = NULL, ...)

Arguments

label

a character string.

split

see split strsplit called with fixed = FALSE.

max_width

maximum width in npc to occupy, leave NULL to auto-compute.

...

other arguments to be passed to textGrob.

Value

a line wrapped label


gitdemont/IFC documentation built on Feb. 20, 2025, 12:55 a.m.