makelabel: makelabel generates a label from text and values
Description
It is common to want a label with text and a series of
values. But paste and paste0 cycles the text and the values. To
avoid this makelabel first combines the values as text and then
adds the input text to the front of the values
Usage
makelabel(txt, vect, sep = "_", sigdig = 3)
Arguments
txt
the input text for the label
vect
the series of values to be included in the label
sep
the separator for the components; defaults to _
sigdig
how many significant digits for the values; default = 3