Format short form person names
Converting names into first initial and surname, or just initials
initials(x, format = "FLast")
x
: a vector of people's names as stringsformat
: a vector of strings of either "FLast" or "FL" to indicate the output formatthe inputted name strings with first names shortened based on the selected format.