prepare_fit_dmax_mods: Prepare modified Dmax fits

View source: R/fit.R

prepare_fit_dmax_modsR Documentation

Prepare modified Dmax fits

Description

This is a function for internal use only and it won't be exported.

Usage

prepare_fit_dmax_mods(
  .data,
  fit = c("3rd degree polynomial", "Exponential"),
  intensity_to_start,
  sport = c("cycling", "running", "swimming")
)

Arguments

.data

The data retrieved from prepare_data().

fit

The fit you would like to use for finding the lactate values associated to each one of the lactate thresholds. Please, note that a few lactate thresholds have default methods for this and cannot be changed. See Details.

intensity_to_start

A double indicating the intensity to start the fit.

sport

The sport at which the incremental test was performed. One of cycling, running, or swimming.

Value

a tibble with the following nested columns:

data

The raw data.

data_interpolated

The interpolated data.

model

The model chosen in the fit parameter.

data_augmented

The augmented data retrieved from the model.

bsln

A boolean indicating the include_baseline argument.


lactater documentation built on Nov. 16, 2023, 5:10 p.m.