wrap_sentence: Breaks up a string into a character vector with strings of a...

View source: R/annotation_control.R

wrap_sentenceR Documentation

Breaks up a string into a character vector with strings of a specified character length.

Description

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

Usage

wrap_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.