add_title.RdAdds title and caption elements to an scplot object.
add_title(object, label, ...)
add_caption(object, label, header = "Note:\n", ...)An scplot object (class scplot) returned from the scplot()
function.
A Character vector with text labels.
List with text parameters ("family", "face", "colour", "size", "hjust", "vjust", "angle", "lineheight", "margin"). See element_text().
String with header above footnote/ caption
An object of class scplot (seescplot()) with changed title
and caption elements.
The functions allow customization of title and caption text properties
by passing arguments similar to those used in element_text(), such as
family, face, colour, size, hjust, vjust, angle, lineheight,
and margin.