dive_place {SwimmeR} | R Documentation |
Adds places to diving results
Description
Places are awarded on the basis of score, with highest score winning. Ties are placed as ties (both athletes get 2nd etc.)
Usage
dive_place(
df,
score_col = Finals,
max_place = NULL,
keep_nonscoring = TRUE,
verbose = TRUE
)
Arguments
df |
a data frame with results from |
score_col |
the name of a column in |
max_place |
highest place value that scores #' @param score_col the name
of a column in |
keep_nonscoring |
are athletes in places greater than |
verbose |
should warning messages be posted. Default is |
Value
data frame modified so that places have been appended based on diving score
See Also
dive_place
is a helper function used inside of
results_score
[Package SwimmeR version 0.14.2 Index]