pedalTime: return pedaling time for a track

Description Usage Arguments Value See Also

View source: R/tracktimes.R

Description

pedalTime return the total time pedaling in a track

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
pedalTime(
  trackdf,
  minCadence = 0,
  cadRequireRolling = TRUE,
  stopSpeed = 0,
  cadMinMove = 3,
  cadStartMaxDelay = 3,
  include,
  ...
)

Arguments

trackdf

data frame or tibble with gps track data

minCadence

a numeric value below which the cadence is ignored

cadRequireRolling

if TRUE, cadence value ignored if bike not moving

stopSpeed

a numeric value below which the bike is considered stopped

cadMinMove

a numeric value specifying the minimum duration of motion to be included in pedaled time

cadStartMaxDelay

a numeric value specifying the number of seconds after beginning motion that pedaling is assumed for time (but not pedal stroke accumulation). This accounts for sensor startup lag.

include

a vector specifying which points on the track to include

...

parameters for other functions

Value

a vector of length one containing the elapsed time on the track for which include is TRUE

See Also

read_ride, statsCadence, statsPower, totalTime, rollingTime


CraigMohn/rideReadGPS documentation built on March 20, 2021, 11:57 a.m.