Description Usage Arguments Examples
Extracts parts from character vectors of names using simple heuristics
1 | extract_name(x, which = NULL)
|
x |
a character vector |
which |
the part of the name to be extracted. "last" extracts family names, "first" first names. |
1 2 | extract_name("Dagobert Duck", "last")
extract_name("Dr. Martin Luther King", "first")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.