Learn R Programming

gender (version 0.4.3)

gender_ipums_usa: Find the gender of first names using U.S. Census data

Description

This internal function implements the method = "ipums" option of gender. See that function for documentation.

Usage

gender_ipums_usa(name, years, certainty)

Arguments

name
A character string of a first name. Case insensitive.
years
This argument can be either a single year, a range of years in the form c(1880, 1900). If no value is specified, then the names will be looked up for the period 1789 to 1930. If a year or range of years is specified, then the names will be lo
certainty
A boolean value, which determines whether or not to return the proportion of male and female uses of names in addition to determining the gender of names.