Description Usage Arguments Details Value Examples
View source: R/helper.R View source: R/getSplitsValues.R
Function to detSplitsValues
1 | getSplitsValues(gpx, sp, xVariable)
|
gpx |
(data frame) a dataframe generated with gpxAnalyser::dataLoader() |
sp |
(list) the list of dataframe representing the splits |
xVariable |
(character) the variable to put on the x axis. One of 'DistanceMeters' or 'Time' |
the function gives the splits intital time or distance, needed to plot the splits on the metrics plot
A numeric vector
1 2 3 | gpx <- intervalActivity
sp <- autoSplits(gpx)
splitsValues <- getSplitsValues(gpx, sp, "Time")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.