Lactate curve
lactate_curve.Rd
It retrieves the lactate curve for plotting purposes.
Arguments
- .data
The raw data.
- intensity_column
The name of the intensity column.
- lactate_column
The name of the lactate column.
- heart_rate_column
The name of the heart rate column, if applicable.
- fit
The fit you would like to use for plotting the lactate curve. Options are
3rd degree polynomial
,4th degree polynomial
, orB-spline
.- include_baseline
A boolean to indicate whether to include the baseline value in the fit.
- sport
The sport at which the incremental test was performed. One of
cycling
,running
, orswimming
.
Value
a list with the following elements:
- data
a tibble containing the raw data with the columns
intensity
,lactate
, andheart_rate
.- lactate_curve
a tibble containing the data with the columns
intensity
andlactate
for plotting the lactate curve according to thefit
method chosen.- heart_rate_response
a tibble containing the data with the columns
intensity
andheart_rate
for plotting the heart rate response using the linear method.