best.sprint: Best Sprint

Description Usage Arguments Details Value Functions

View source: R/fit.gps.R

Description

This function returns the player's best-sprint from the data set.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
best.sprint(
  game.speed,
  min.speed = 0.3,
  max.speed.threshold = 95,
  sample.rate = 10
)

gps.best.sprint(
  game.speed,
  min.speed = 0.3,
  max.speed.threshold = 95,
  sample.rate = 10
)

Arguments

game.speed

The player's tracking data speed vector

min.speed

The minimum speed that the function should consider the start of the sprint

max.speed.threshold

The percent of the player's top speed reached to be considered the end of the sprint

sample.rate

The game data sample rate (Hz)

Details

This function identifies a player's best-sprint which is defined as the sprint that took the least amount of time to reach top speed. The caveat being that this sprint does not need to begin at a dead-start.

The user sets the minimum speed that the function should consider the start of the sprint. Since players do not often reach max speed during games and practices, the max.speed.threshold argument allows practitioners to set the percent of top speed that the function should consider as the end of the sprint. Through trial-and-error, the minimum speed of 0.3 m/s and 95 ability.

Value

A data.frame with the player's best-sprint observations

Functions


aaronzpearson/fvp documentation built on Jan. 16, 2022, 12:39 a.m.