add_castaway | R Documentation |
Adds castaway
to a data frame. Input data frame must have castaway_id
.
add_castaway(df)
df |
Data frame. Requires |
Data frame with castaway
.
library(survivoR)
library(dplyr)
df_no_castaway <- confessionals |>
filter_us(47) |>
group_by(castaway_id) |>
summarise(n = sum(confessional_count))
df_no_castaway |>
add_castaway()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.