interp: Interpolate Ship Position

View source: R/interp.R

interpR Documentation

Interpolate Ship Position

Description

Interpolates NA's by filling them with the average of the previous and subsequent values.

Usage

interp(my_data, na.rm = FALSE)

Arguments

my_data

vector of data

na.rm

Logical indicating whether a logical value indicating whether NA values should be stripped before the computation proceeds.


ailich/mytools documentation built on Jan. 7, 2023, 11:16 a.m.