The density, cdf, or quantile function of a kernel density estimate are
evaluated at arbitrary points with `dkde1d`

, `pkde1d`

,
and `qkde1d`

respectively.

```
dkde1d(x, obj)
pkde1d(x, obj)
qkde1d(x, obj)
rkde1d(n, obj, quasi = FALSE)
```

## Arguments

- x
vector of evaluation points.

- obj
a `kde1d`

object.

- n
integer; number of observations.

- quasi
logical; the default (`FALSE`

) returns pseudo-random
numbers, use `TRUE`

for quasi-random numbers (generalized Halton, see
`ghalton`

).

## Value

The density or cdf estimate evaluated at `x`

.

## Examples

```
data(wdbc) # load data
fit <- kde1d(wdbc[, 5]) # estimate density
dkde1d(1000, fit) # evaluate density estimate
#> [1] 0.0003689227
pkde1d(1000, fit) # evaluate corresponding cdf
#> [1] 0.8348244
qkde1d(0.5, fit) # quantile function
#> [1] 552.8918
hist(rkde1d(100, fit)) # simulate
```