perform_kinetics {whippr} | R Documentation |
Perform VO2 kinetics fitting
Description
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).
Usage
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,
...
)
Arguments
.data_processed |
The data retrieved from |
intensity_domain |
The exercise-intensity domain that the test was performed. Either moderate, heavy, or severe. |
fit_level |
A numeric scalar between 0 and 1 giving the confidence level for the parameter estimates in the final VO2 kinetics fit. Default to |
fit_phase_1_length |
The length of the phase I that you wish to exclude from the final exponential fit, in seconds. See |
fit_baseline_length |
The length the baseline to perform the final linear fit, in seconds. See |
fit_transition_length |
The length of the transition to perform the final exponential fit, in seconds. See |
verbose |
A boolean indicating whether messages should be printed in the console. Default to |
... |
Additional arguments when fitting VO2 kinetics in the heavy- or severe-intensity domains. Arguments may be the following:
|
Details
See ?vo2_kinetics
for details.
Value
a tibble
containing one row and the nested columns:
data_fitted |
The data containing the time and VO2 columns, as well as the fitted data and its residuals for each data point. |
model |
A |
model_summary |
The tidied summary of the |
model_residuals |
The residuals of the |
plot_model |
The final plot of the fitted |
plot_residuals |
The residuals plot for the |