Extract confidence and prediction bands for the transition phase
predict_bands_transition(
.data,
time_column,
vo2_column,
cleaning_level,
cleaning_model
)
a tibble containing the following columns:
The provided time data.
The provided VO2 data.
The predicted response for that observation.
The residual for a particular point.
Lower limit of the confidence band.
Upper limit of the confidence band.
Lower limit of the prediction band.
Upper limit of the prediction band.
The nornalized data retrieved from normalize_transitions()
. The data should be filtered to only the 'transition' phase before passing to the function.
The name (quoted) of the column containing the time. Depending on the language of your system, this column might not be "t". Therefore, you may specify it here. Default to "t".
The name (quoted) of the column containing the absolute oxygen uptake (VO2) data. Default to 'VO2'.
A numeric scalar between 0 and 1 giving the confidence level for the intervals to be calculated.
The nls
model to retrieve the bands from.