kblock_kern: K-Block Kernel

Description Usage Arguments Details Value

View source: R/kernels.R

Description

Special case of a kernel used for estimating spatial relationships to assess similarity of geographically proximate neighbors.

Usage

1
kblock_kern(i, j, m, k)

Arguments

i

row position in matrix

j

column position in matrix

m

boolean spatial matrix

k

integer, size of window

Details

Current implementation is used in Bayesian classification. NOTE that the author is currently unaware of this kernel being available in the literature.

For more details see the help vignette: vignette("homophily-kernel", package = "supml")

Value

TRUE if window exists, otherwise FALSE


tbonza/supml documentation built on May 17, 2019, 3:14 a.m.