Skip to contents

Check if Race is Other

Usage

is_other(x)

Arguments

x

input character representing race

Value

boolean representing Race == Other

Examples

is_other("OTHER")
#> [1] TRUE

is_other("BLACK")
#> [1] FALSE

is_other(4)
#> Numeric input detected - assuming 1 = White, 2 = Black, 3 = Asian, 4 = Other, -999 = Missing.
#> [1] TRUE