tie_rescore: Rescore to account for ties

View source: R/tie_rescore.R

tie_rescoreR Documentation

Rescore to account for ties

Description

Rescoring to average point values for ties. Ties are placed as ties (both athletes get 2nd etc.)

Usage

tie_rescore(df, point_values, lanes)

Arguments

df

a data frame with results from swim_parse, with places from swim_place and/or dive_place

point_values

a named list of point values for each scoring place

lanes

number of scoring lanes in the pool

Value

df modified so that places have been appended based on swimming time

See Also

tie_rescore is a helper function used inside of results_score


SwimmeR documentation built on March 31, 2023, 8:27 p.m.