add_tribe: Add tribe

View source: R/add.R

add_tribeR 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()


survivoR documentation built on April 3, 2025, 5:34 p.m.