initials: Format short form person names

Description Usage Arguments Value

View source: R/utils.R

Description

Converting names into first initial and surname, or just initials

Usage

1
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

Value

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


WikidataR documentation built on Nov. 16, 2021, 5:07 p.m.