filter_final_n {survivoR} | R Documentation |
Filter final n
Description
Filters to the final n players e.g. the final 4.
Usage
filter_final_n(df, .final_n)
Arguments
df |
Input data frame. Must have |
.final_n |
An integer to represent the final |
Value
A data frame filtered to only the final n
Examples
library(survivoR)
library(dplyr)
confessionals |>
filter_us(47) |>
filter_final_n(6) |>
group_by(castaway) |>
summarise(n = sum(confessional_count))
[Package survivoR version 2.3.6 Index]