strip_wrap_var: Apply string wrapping to variables (character or factor)

View source: R/utils.R

strip_wrap_varR Documentation

Apply string wrapping to variables (character or factor)

Description

A utility function that applies string wrapping to both character and factor variables, preserving factor structure while wrapping the labels.

Usage

strip_wrap_var(x, width = Inf)

Arguments

x

Variable to wrap (character or factor)

width

Maximum width for wrapping

Value

Modified variable with wrapped text


saros documentation built on Nov. 10, 2025, 5:06 p.m.