firstnames: Extract first names

View source: R/variables.R

firstnamesR Documentation

Extract first names

Description

Extract first names from full names

Usage

firstnames(x)

Arguments

x

a character vector of full nmaes

Value

a character vector of first names

Examples

data(den)
first          <- table(firstnames(den$NAME))
head(sort(first, decreasing = TRUE), 20)

antongrau/eliter documentation built on March 2, 2024, 8:05 p.m.