getSplinedTrajectory: Get smooth splined coordinate interpolation over time

View source: R/reachProcessing.R

getSplinedTrajectoryR Documentation

Get smooth splined coordinate interpolation over time

Description

(Should one day allow data frame or matrix input as well...)

Usage

getSplinedTrajectory(x, y, t, length.out = length(t), spar = 0.01)

Arguments

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)

Details

?

Value

This function returns a data frame with smooth spline interpolated trajectory given by x, y and t.

Examples

?

thartbm/SMCL documentation built on Oct. 23, 2022, 5:17 a.m.