Adds a logical flag if the castaway is alive at the start or end of an episode
Usage
add_alive(df, .ep, .at = "end")
Value
A data frame with a new column alive.
Arguments
df
Data frame. Must contain version_season and castaway.
.ep
Episode to evaluate the flag.
.at
Either 'start' or 'end'. If 'start' the flag will indicate who is
alive at the start of the episode. If 'end' it will indicate who is alive at
the end of the episode i.e. after tribal council.