lastnames | R Documentation |
Extract last names from full names
lastnames(x)
x |
a character vector of full nmaes |
a character vector of last names
data(den)
last <- table(lastnames(den$NAME))
head(sort(last, decreasing = TRUE), 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.