dkde1d | R Documentation |
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)
x |
vector of evaluation points. |
obj |
a |
n |
integer; number of observations. |
quasi |
logical; the default ( |
The density or cdf estimate evaluated at x
.
kde1d
data(wdbc) # load data fit <- kde1d(wdbc[, 5]) # estimate density dkde1d(1000, fit) # evaluate density estimate pkde1d(1000, fit) # evaluate corresponding cdf qkde1d(0.5, fit) # quantile function hist(rkde1d(100, fit)) # simulate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.