dkdevine {kdevine}R Documentation

Evaluate the density of a kdevine object

Description

Evaluate the density of a kdevine object

Usage

dkdevine(x, obj)

Arguments

x

(m x d) matrix of evaluation points (or vector of length d).

obj

a kdevine object.

Value

The density estimate evaluated at x.

See Also

kdevine

Examples

# load data
data(wdbc)

# estimate density (use xmin to indicate positive support)
fit <- kdevine(wdbc[, 5:7], xmin = rep(0, 3))

# evaluate density estimate
dkdevine(c(1000, 0.1, 0.1), fit)


[Package kdevine version 0.4.5 Index]