genderizePredict: Gender predicting function

Description Usage Arguments Value

View source: R/genderizePredict.R

Description

The genderizePredict function predicts gender using the values of probability and count parameters that mimize the errorCoded.

Usage

1
genderizePredict(trainedParams, newdata, givenNamesDB)

Arguments

trainedParams

An output of a genderizeTrain function with prediction efficiency indicators for different combinations of probability and count values.

newdata

A character vector for gender prediction.

givenNamesDB

A dataset with gender data (could be an output of findGivenNames function).

Value

A character vector of values: male, female or unknown.


genderizeR documentation built on Aug. 4, 2019, 5:02 p.m.