Learn R Programming

survivoR (version 2.3.5)

add_bipoc: Adds BIPOC

Description

Adds a BIPOC to the data frame. If any African American, Asian American, Latin American, or Native American is TRUE then BIPOC is TRUE.

Usage

add_bipoc(df)

Value

Data frame with BIPOC added.

Arguments

df

Data frame. Requires castaway_id.

Examples

Run this code

library(survivoR)
library(dplyr)

get_cast("US47") |>
  add_bipoc()

Run the code above in your browser using DataLab