add_newlines: Replace '+' with a newline in the given string

View source: R/utils-add-newlines.R

add_newlinesR Documentation

Replace '+' with a newline in the given string

Description

Replace '+' with a newline in the given string

Usage

add_newlines(x, ...)

Arguments

x

A character string

...

Absorbs other arguments not meant for this function

Details

Used mainly for ggplot y axis labels, if they are too long and get cut off

Value

A modified character string


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.