autoSplits: autoSplits

Description Usage Arguments Details Value Examples

View source: R/autoSplits.R

Description

Function to automatically detect splits recorded in the activity.

Usage

1

Arguments

data

an activity dataframe

Details

Sometimes intervals are recorded directly in the activity, for instance when pressing the Lap button on a Garmin device. This function will identify such splits, if any is present. The splits are identified as repeated rows in the data frame.

Value

A list of dataframes, one for each split

Examples

1
2
gpx <- intervalActivity
autoSp <- autoSplits(gpx)

theasjblog/tcx_package documentation built on March 13, 2021, 2:24 a.m.