initials | R Documentation |
initials
takes a string containing names, seperated either by spaces of periods, and returns the initials.
initials(strings, return_NA_on_empty = FALSE)
strings |
string containing names, seperated by spaces or periods (or both). Vectorised. |
Initials in the form JF, so no spaces and no periods.
strings = c("Auke B.", "Arnold Christoffer", "Arend X. Mark", "Albert X Johannes", "Albert X.Y. Johannes", "J. F.")
initials(strings)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.