smooth_vector.Rd
Smooths positions of given vector
smooth_vector(x, type, ...)
x | numeric vector to smooth |
---|---|
type | median, approx, spline |
... | optional parameters for the smoothing function (see below) |
smoothed numeric vector
median takes parameters points (default is 11). See runmed
spline takes parameters and spar, nknots. See smooth.spline