approx.nearest: approx.nearest

Description Usage Arguments Value

View source: R/approx.nearest.R

Description

auxiliary function for applying the function 'InterpolationMethod', approximate a time series using the nearest neighbour

Usage

1
approx.nearest(x, y, xi)

Arguments

x

numeric vector giving the coordinates of the points to be interpolated

y

corresponding values to x

xi

set of numeric values specifying where interpolation has to take place

Value

zoo-object containing the interpolated data


EarthSystemDiagnostics/corit documentation built on May 29, 2019, 1:39 p.m.