break_sentence: Inserts newlines into strings after a specified character...

View source: R/annotation_control.R

break_sentenceR Documentation

Inserts newlines into strings after a specified character length.

Description

A word that will cause a string to exceed the specified width will be used to start the next line.

Usage

break_sentence(string, width = get_annotation_width())

Arguments

string
width

Value

The same string but broken up into lines.


Benjamin-Vincent-Lab/housekeeping documentation built on Feb. 17, 2024, 2:13 a.m.