splits_to_lap_helper_recalc: Helper function for converting cumulative splits to lap...

Description Usage Arguments Value

View source: R/splits_to_lap.R

Description

Helper function for converting cumulative splits to lap splits

Usage

1
2
3
4
5
6
splits_to_lap_helper_recalc(
  df,
  i,
  split_cols = split_cols,
  threshold = threshold
)

Arguments

df

a data frame containing splits in cumulative format

i

list of values to iterate along

split_cols

list of columns containing splits

threshold

a numeric value above which a split is taken to be cumulative

Value

a list of data frames with all splits in lap format for a particular event, each with a single split column converted to lap format


SwimmeR documentation built on July 16, 2021, 9:09 a.m.