initials function

Format short form person names

Format short form person names

Converting names into first initial and surname, or just initials

initials(x, format = "FLast")

Arguments

  • x: a vector of people's names as strings
  • format: a vector of strings of either "FLast" or "FL" to indicate the output format

Returns

the inputted name strings with first names shortened based on the selected format.

  • Maintainer: Thomas Shafee
  • License: MIT + file LICENSE
  • Last published: 2021-11-16