add_title: Add title and caption to an scplot

View source: R/title_caption.R

add_titleR Documentation

Add title and caption to an scplot

Description

Add title and caption to an scplot

Usage

add_title(object, label, ...)

add_caption(object, label, header = "Note:\n", ...)

Arguments

object

An scplot object (class scplot) returned from the scplot() function.

label

A Character vector with text labels.

...

List with text parameters (⁠"family", "face", "colour", "size", "hjust", "vjust", "angle", "lineheight", "margin"⁠). See element_text().

header

String with header above footnote/ caption

Value

An object of class scplot (seescplot()) with changed title and caption elements.


jazznbass/scplot documentation built on April 17, 2025, 3:05 p.m.