add_lgbt {survivoR}R Documentation

Add LGBTQIA+ status

Description

Adds the LGBTQIA+ flag to the data frame.

Usage

add_lgbt(df)

Arguments

df

Data frame. Requires castaway_id and version_season.

Value

Data frame with the LGBTQIA+ flag added.

Examples


library(survivoR)
library(dplyr)

get_cast("US47") |>
  add_lgbt()


[Package survivoR version 2.3.6 Index]