spherical: The spherical kernel

Description Usage Arguments Value

View source: R/kernels.r

Description

The spherical kernel

Usage

1
spherical(d, bw)

Arguments

d

vector of distances to convert to weights

bw

bandwidth of the kernel

Value

vector of kernel weights, given by 1 - 1.5 * (d / bw) + 0.5 * (d / bw)^3 if d < bw; otherwise 0


wrbrooks/lagr documentation built on May 4, 2019, 11:59 a.m.