Skip to contents

Takes character input and returns TRUE/FALSE if white/other

Usage

is_white(x)

Arguments

x

input character representing race

Value

boolean representing Race == White

Examples

is_white("WHITE")
#> [1] TRUE

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