View source: R/navr-smoothing.R
smooth_vector | R Documentation |
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) |
median takes parameters points (default is 11). See runmed
spline takes parameters and spar, nknots. See smooth.spline
smoothed numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.