getSplinedTrajectory | R Documentation |
Returns a 2D trajectory smoothed by splining.
getSplinedTrajectory(x, y, t, length.out = length(t), spar = 0.01)
x |
X-coordinates of a trajectory |
y |
Y-coordinates of a trajectory |
t |
Timestamps of the X and Y coordinates |
length.out |
number of splined points to return |
spar |
Smoothing parameter for the spline, default: 0.01 (0.00-1.00) |
#
This function returns a data frame with smooth spline interpolated trajectory given by x, y and t.
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.