name2sex: Names to Gender

name2sexR Documentation

Names to Gender

Description

A wrapper for the gender function used to predict gender based on first name.

Usage

name2sex(names.list, USE.NAMES = FALSE, ...)

Arguments

names.list

Character vector containing first names.

USE.NAMES

logical. If TRUE names.list is used to name the gender vector.

...

Other arguments passed to gender.

Value

Returns a vector of predicted gender (M/F) based on first name.

See Also

gender

Examples

## Not run: 
name2sex(qcv(mary, jenn, linda, JAME, GABRIEL, OLIVA, 
    tyler, jamie, JAMES, tyrone, cheryl, drew))

## End(Not run)

qdap documentation built on May 31, 2023, 5:20 p.m.