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

View source: R/splits_to_cumulative.R

splits_to_cumulative_helper_recalcR Documentation

Helper function for converting lap splits to cumulative splits

Description

Helper function for converting lap splits to cumulative splits

Usage

splits_to_cumulative_helper_recalc(
  df,
  i,
  split_cols = split_cols,
  threshold = threshold
)

Arguments

df

a data frame containing splits in lap format

i

list of values to iterate along

split_cols

list of columns containing splits

threshold

a numeric value below which a split is taken to be lap

Value

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


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