st_kernel_weight: Calculate Kernel Weights

View source: R/st_weights.R

st_kernel_weightR Documentation

Calculate Kernel Weights

Description

Calculate Kernel Weights

Usage

st_kernel_weight(x, nb, kernel = "uniform")

Arguments

x

Spatial points. Typically the geometry column of an sf object.

nb

A nb neighbor list such as created from st_knn(x, k = 1).

kernel

One of "uniform", "gaussian", "triangular", "epanechnikov", or "quartic".

See Also

Other weights: st_inverse_weights(), st_weights()


JosiahParry/sfweight documentation built on April 4, 2022, 1:52 a.m.