lactate_curve | R Documentation |
It retrieves the lactate curve for plotting purposes.
lactate_curve(
.data,
intensity_column,
lactate_column,
heart_rate_column,
fit = c("3rd degree polynomial", "4th degree polynomial", "B-spline"),
include_baseline = FALSE,
sport = c("cycling", "running", "swimming")
)
.data |
The raw data. |
intensity_column |
The name of the intensity column. |
lactate_column |
The name of the lactate column. |
heart_rate_column |
The name of the heart rate column, if applicable. |
fit |
The fit you would like to use for plotting the lactate curve.
Options are |
include_baseline |
A boolean to indicate whether to include the baseline value in the fit. |
sport |
The sport at which the incremental test was performed. One of |
a list with the following elements:
data |
a tibble containing the raw data with the columns |
lactate_curve |
a tibble containing the data with the columns |
heart_rate_response |
a tibble containing the data with the columns |
## Not run:
lactate_curve(
.data = demo_data,
intensity_column = "intensity",
lactate_column = "lactate",
heart_rate_column = "heart_rate",
fit = "3rd degree polynomial",
include_baseline = TRUE,
sport = "cycling"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.