Description Usage Arguments Details Value Examples
Function to plot activity metrics
1 2 3 4 5 6 7 |
data |
an activity dataframe |
xVariable |
(character) the variable to put on the x axis. One of 'DistanceMeters' or 'Time' |
showMe |
(character) The metrics to include in the plot. Must be the same name as the column in the dataframe. |
doFacet |
(logical) TRUE to plot variables separetly, FALSE to plot them overlayed |
sp |
(list) the list of frame of splits, if plotting splits |
The function accepts a list of dataframes or a data frame created with createSplits() or dataLoader()
A ggplot object
1 2 3 4 5 | gpx <- evenActivity
doPlots(gpx)
doPlots(gpx, doFacet = TRUE)
sp<-autoSplits(gpx)
doPlots(gpx, sp = sp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.