scales icon indicating copy to clipboard operation
scales copied to clipboard

Add `label_itemized()`: display values like an itemized list.

Open hughjonesd opened this issue 3 years ago • 0 comments

This is really for fun, but I thought it might conceivably fit in the scales package. It converts values from integers to list items using a cute interface:

  • labels_itemized("(a)")(1:x) becomes (a), (b), (c), ...
  • labels_itemized("A")(1:x) becomes A, B, C, ...
  • labels_itemized("i.")(1:x) becomes i., ii., iii., ...

and so forth.

hughjonesd avatar Jun 14 '22 09:06 hughjonesd