It applies the Dmax methods: "Dmax", "ModDmax", "Exp-Dmax", "Log-Poly-ModDmax", and "Log-Exp-ModDmax".
method_dmax(data_prepared, sport, loglog_restrainer = 1, plot)a tibble with the following columns:
the method used to estimate the lactate threshold
the fitting method used to predict the lactate curve
the intensity associated with the estimated lactate threshold
the lactate concentration associated with the estimated lactate threshold
the heart rate associated with the estimated lactate threshold
the plot produced to display the lactate threshold
The data retrieved from prepare_data().
The sport at which the incremental test was performed. One of cycling, running, or swimming.
A scalar from 0 to 1 indicating the percentage of the data that you would like to
restrain for fitting the Log-Log method - This is going to be used in the Log-Poly-ModDmax and Log-Exp-ModDmax methods only.
For example, 1 means no restriction (fits using the whole data), and 0.5 means that
only the first 50% of the data will be used. Default to 1.
A boolean to indicate whether to generate a plot from each one of the methods.
The method_dmax() function does not have a fit argument because all the Dmax methods have their own default fitting methods:
Dmax = 3rd degree polynomial
ModDmax = 3rd degree polynomial
Exp-Dmax = exponential
Log-Poly-ModDmax = 3rd degree polynomial
Log-Exp-ModDmax = exponential