Performs the fitting process for the VO2 kinetics analysis. At this point, the data should already have been cleaned (outliers removed) and processed (interpolated, time-aligned, ensembled-averaged, and bin-averaged).
perform_kinetics( .data_processed, intensity_domain = c("moderate", "heavy", "severe"), fit_level = 0.95, fit_phase_1_length, fit_baseline_length, fit_transition_length, verbose = TRUE, ... )
The data retrived from
The exercise-intensity domain that the test was performed. Either moderate, heavy, or severe.
A numeric scalar between 0 and 1 giving the confidence level for the parameter estimates in the final VO2 kinetics fit. Default to
The length of the phase I that you wish to exclude from the final exponential fit, in seconds. See
The length the baseline to perform the final linear fit, in seconds. See
The length of the transition to perform the final exponential fit, in seconds. See
A boolean indicating whether messages should be printed in the console. Default to
Additional arguments when fiting VO2 kinetics in the heavy- or severe-intensity domains. Arguments may be the following:
a tibble containing one row and the nested columns:
The data containing the time and VO2 columns, as well as the fitted data and its residuals for each data point.
nls object. The model used in the VO2 kinetics fitting.
The tidied summary of the
The residuals of the
The final plot of the fitted
The residuals plot for the
?vo2_kinetics for details.