add_tribe {survivoR}R Documentation

Add tribe

Description

Adds tribe to a data frame for a specified stage of the game e.g. original, swapped, swapped_2, etc.

Usage

add_tribe(df, .tribe_status = "Original")

Arguments

df

Data frame. Requires version_season and castaway_id,

.tribe_status

Tribe status e.g. original, swapped, swapped_2, etc.

Value

Data frame with tribe added.

Examples


library(survivoR)
library(dplyr)

confessionals |>
  add_tribe()


[Package survivoR version 2.3.6 Index]