rkdevine {kdevine} | R Documentation |
Simulate from a kdevine object
Description
Simulate from a kdevine object
Usage
rkdevine(n, obj, quasi = FALSE)
Arguments
n |
number of observations. |
obj |
a |
quasi |
logical; the default ( |
Value
An n x d
matrix of simulated data from the kdevine
object.
See Also
Examples
# load and plot data
data(wdbc)
# estimate density
fit <- kdevine(wdbc[, 5:7], xmin = rep(0, 3))
# plot simulated data
pairs(rkdevine(nrow(wdbc), fit))
[Package kdevine version 0.4.5 Index]