smooth_vector: Smooths positions of given vector

View source: R/navr-smoothing.R

smooth_vectorR Documentation

Smooths positions of given vector

Description

Smooths positions of given vector

Usage

smooth_vector(x, type, ...)

Arguments

x

numeric vector to smooth

type

median, approx, spline

...

optional parameters for the smoothing function (see below)

Details

median takes parameters points (default is 11). See runmed spline takes parameters and spar, nknots. See smooth.spline

Value

smoothed numeric vector


hejtmy/navr documentation built on March 3, 2023, 5:24 p.m.