getSplinedVelocity | R Documentation |
Returns velocity based on spline-smoothed trajectory.
getSplinedVelocity(x, y, t, spar = 0.01)
x |
X-coordinates of a trajectory |
y |
Y-coordinates of a trajectory |
t |
Timestamps of the X and Y coordinates |
spar |
Smoothing parameter for the spline, default: 0.01 (0.00-1.00) |
#
This function returns a data frame with spline interpolated velocity and time for the trajectory given by x, y and t. The first velocity sample will always be zero.
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.