Skip to content

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

Open
hughjonesd wants to merge 1 commit into
r-lib:mainfrom
hughjonesd:main
Open

Add label_itemized(): display values like an itemized list.#355
hughjonesd wants to merge 1 commit into
r-lib:mainfrom
hughjonesd:main

Conversation

@hughjonesd
Copy link
Copy Markdown

@hughjonesd hughjonesd commented Jun 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant