get_kernel_vector: Obtain the vector of kernel evaluations for all the...

Description Usage Arguments Value Examples

View source: R/kernel.R

Description

Obtain the vector of kernel evaluations for all the gridpoints in the neighborhood of observation s_i

Usage

1
get_kernel_vector(s_i, neighbors_i, dpc_grid, phi_i)

Arguments

s_i

Observation location

neighbors_i

List of gridpoints in the neighborhood of s_i

dpc_grid

Discrete Process Convolution grid

phi_i

Kernel parameters

Value

List with normalized vector of kernel evaluations, as well as sum of unnormalized evaluations

Examples

1
2
3
4
5
s_i = list(lat = 0, lon = 0)
dpc_grid = get_grid(c(-1, 1), c(0, 0), 1)
neighbors_i = c(1,2,3)
phi_i = c(0.5, 1, 0, 0)
get_kernel_vector(s_i, neighbors_i, dpc_grid, phi_i)

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