Description Usage Arguments Details Value Examples
View source: R/compareSplits.R
Function to generate a summary of the activity data
1 2 3 4 5 6 | compareSplits(
data,
showMe = NULL,
ftp = NULL,
ftpType = c("power", "pace", "HR")[1]
)
|
data |
an activity dataframe or list of dataframes (splits) |
showMe |
(character) The metrics to include in the plot. Must be the same name as the column in the dataframe. |
ftp |
(numeric) Functional threshold power if bike workout, pace [min/km] if run or swim, lactate heart rate threshold if using HR |
ftpType |
(character) One of 'power', 'pace' or 'HR', to describe what kind of FTP was provided |
The function summarise the activity data in a dataframe. If a valid FTPO and FTP type combination is provided the function also computes TSS and IF (see Joe Friel blog for more details on these metrics)
A dataframe with a summary of comparisons between metrics for the activity.
1 2 3 4 | gpx <- intervalActivity
compareSplits(gpx, ftp = 4.1, ftpType = "pace")
sp<-autoSplits(gpx)
compareSplits(sp, ftp = 4.1, ftpType = "pace")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.