name2sex: Names to Gender

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
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

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

## End(Not run)

trinker/qdap documentation built on Sept. 30, 2020, 6:28 p.m.