get_neighbors_of_gridpoints: Identify the observation locations that are in the...

Description Usage Arguments Value Examples

View source: R/kernel.R

Description

Identify the observation locations that are in the neighborhood of each gridpoint

Usage

1
get_neighbors_of_gridpoints(neighborsI, ngridpoints)

Arguments

neighborsI

List of gridpoint neighbors to each observation

ngridpoints

Number of gridpoints

Value

List of observation locations that are neighbors to each gridpoint

Examples

1
2
neighborsI = list(list(1, 2), list(2, 3))
get_neighbors_of_gridpoints(neighborsI, 3)

rtlemos/scallops documentation built on May 4, 2019, 7:43 p.m.