Learn R Programming

gender (version 0.4.3)

gender_demo: Demo finding the gender of first names using SSA data

Description

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

Usage

gender_demo(name, years, certainty)

Arguments

name
A character string of a first name. Case insensitive.
years
This argument can be either a single year or 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 1932 to 2012. If a year or range of years is specified, then the names will be
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.