nearest: 'nearest' selects the time series in 'x' that are closest to...

View source: R/nearest.R

nearestR Documentation

nearest selects the time series in x that are closest to the locations specified in is

Description

nearest selects the time series in x that are closest to the locations specified in is

Usage

nearest(x, is)

Arguments

x

a station or field object (if x is a field it will first be transformed to a station object)

is

a spatial index, either a list or data frame containing coordinates (e.g., list(lon=c(...), lat=c(...))) or a station or field object whos longitudes and latitudes will be used


metno/esd documentation built on April 29, 2024, 3:34 p.m.