Learn R Programming

SwimmeR (version 0.14.2)

tie_rescore: 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)

Value

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

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

See Also

tie_rescore is a helper function used inside of results_score