kde2d.weighted: based on...

kde2d.weightedR Documentation

based on https://stat.ethz.ch/pipermail/r-help/2006-June/107405.html this is called by compute.spatial.kld to calculate the kernel density estimation in 2d space with each data point weighted.

Description

based on https://stat.ethz.ch/pipermail/r-help/2006-June/107405.html this is called by compute.spatial.kld to calculate the kernel density estimation in 2d space with each data point weighted.

Usage

kde2d.weighted(x, y, w, h, n, lims = c(range(x), range(y)))

Arguments

x

x

y

y

w

w

h

h

n

n

lims

lims

Value

weighted kde2d estimation


gsdensity documentation built on March 31, 2023, 8:32 p.m.