soccerResample: Resample the frames per second of any tracking data using linear interpolation
Description
Downsample or upsample any tracking data containing x,y,t data using linear interpolation of x,y-coordinates (plus constant interpolation of all other variables in dataframe)
Usage
soccerResample(df, r = 10, x = "x", y = "y", t = "t", id = "id")
Arguments
df
a dataframe containing x,y-coordinates and time variable