genderizeR (version 2.0.0)

classificatonErrors: Calculating classification errors and other prediction indicators

Description

classificatonErrors function was misspelled (sorry for that!). Now the function has the proper name classificationErrors (with "i"). Old function name still works, but is deprecated now and will be removed in future version of the package.

Usage

classificatonErrors(labels, predictions)

Arguments

labels

A vector of true labels. Should have following values: c("female", "male", "unknown", "noname"). noname stands also for initials only.

predictions

A vector of predicted gender. Should have following values: c("female", "male", NA). NA when it was not possible to predict any gender.