get_kernel_evaluation: Get kernel evaluation(s) centered at s_i and evaluated at one...

Description Usage Arguments Value Examples

View source: R/kernel.R

Description

Get kernel evaluation(s) centered at s_i and evaluated at one or many gridpoints s_j

Usage

1
get_kernel_evaluation(s_i, s_j, grid_spacing, phi_i)

Arguments

s_i

Point where the kernel is centered at

s_j

Grid points(s) where the kernel is evaluated at

grid_spacing

DPC grid resolution

phi_i

Kernel parameters at location s_i

Value

Kernel evaluation(s) at the gridpoint(s) s_j

Examples

1
2
3
4
5
6
get_kernel_evaluation(s_i = list(lat = 0, lon = 0), s_j = list(lat = 0, lon = 0), 
                      grid_spacing = 1, phi_i = c(0, 0, 0, 0)) == 1
get_kernel_evaluation(s_i = list(lat = 0, lon = 0), s_j = list(lat = 0, lon = 1), 
                      grid_spacing = 1, phi_i = c(0, 0, 0, 0)) == 0
get_kernel_evaluation(s_i = list(lat = 0, lon = 0), s_j = list(lat = 0, lon = 1), 
                      grid_spacing = 2, phi_i = c(0, 0, 0, 0)) == 0.75

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