wrap_notes: Wrap Notes

View source: R/wrap-notes.R

wrap_notesR Documentation

Wrap Notes

Description

Takes a character string that is to appear as notes below a graph and places line breaks at appropriate places to wrap the line to conform to the appropriate width given the supplied font size.

Usage

wrap_notes(text, width = 3, unit = "in", gp = set_gp())

Arguments

text

Character scalar with the text to be included.

width

Numeric scalar giving the alloted width for the viewport

unit

Character scalar giving the units in which the width is expressed (i.e., 'in', 'mm').


kbrevoort/kpbtemplates documentation built on May 31, 2024, 12:29 p.m.