add_label: Consistent labelling for base plots

Description Usage Arguments Examples

View source: R/add_label.R

Description

For adding easy labels to multipanel figures (a,b,c). Stolen from Sean Anderson (https://seananderson.ca/2013/10/21/panel-letters/)

Usage

1
add_label(xfrac, yfrac, label, pos = 4, ...)

Arguments

xfrac

is label position, in fraction from x axis

yfrac

is label position, in fraction from y axis

label

is text to add

pos

is text alignment (see ?text)

Examples

1

jpwrobinson/funk documentation built on Nov. 21, 2021, 11:23 p.m.