statsGrade: generate grade statistics for a track

Description Usage Arguments Value See Also

View source: R/grade.R

Description

statsGrade processes a gps track file to summarize grade data

Usage

1
2
3
4
5
6
7
8
statsGrade(
  trackdf,
  gradeSmoothWindowMeters = 7,
  gradeSmoothWindowNN = 10,
  flatLimit = 0.01,
  gradeMinDistance = 0.5,
  ...
)

Arguments

trackdf

data frame or tibble with gps track data

gradeSmoothWindowMeters

bandwidth (meters) for kernel smoothing of elevation in the grade calculation

gradeSmoothWindowNN

number of observations on each side used for calculating kernel smoothed elevation for the grade calculation

flatLimit

if the grade does not exceed this, it is neither scending nor descending

gradeMinDistance

if the distance (meters) between points is less than this,the distance will not be counted aas ascending or descending and the grade will not be calculated

...

parameters for processSegments, repairSensorDropOut, repairHR, repairCadence, repairPower, statsHeartRate, statsCadence, statsPower, statsGearing, statsSession, statsStops, statsTemp

Value

a list containing summary data

See Also

read_ride,processSegments, repairSensorDropOut, repairHR, repairCadence, repairPower, statsHeartRate, statsCadence, statsPower, statsGearing, statsSession, statsStops, statsTemp


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