labelFig | R Documentation |
Adds a label to the upper left corner of a plot.
labelFig(label, adj = 0.05, ...)
label |
Character. |
adj |
A single number or two numbers. If a single number, then this is an adjustment factor that affects the position of the label in the y-direction relative to the default position. Positive connotes higher, negative lower. If this is two values, then the first adjusts in the x-direction (negative connotes left, positive right), and the second adjust in the y-direction. |
... |
Other arguments to send to |
Nothing (adds text to a plot).
par(mfrow=c(1, 2))
plot(1, 1)
labelFig('A: One')
plot(2, 2)
labelFig('B: Two')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.