drvkde: drvkde

View source: R/from_features.R

drvkdeR Documentation

drvkde

Description

Compute the mth derivative of a binned d-variate kernel density estimate based on grid counts.

Usage

drvkde(x, drv, bandwidth, gridsize, range.x, binned = FALSE, se = TRUE, w)

Arguments

x

The input data.

drv

The order of the derivative to compute.

bandwidth

The bandwidth (smoothing parameter) along each dimension.

gridsize

The size of the grid.

range.x

A list specifying the range of values for each dimension.

binned

A logical indicating whether the input data is already binned.

se

A logical indicating whether to compute standard errors.

w

A vector of weights for the data points.

Value

A list containing the estimated density or derivative, and optionally, standard errors.


shinyWGD documentation built on April 4, 2025, 2:28 a.m.