simulate.kdecopula {kdecopula} | R Documentation |
Simulate data from a kdecop()
fit.
Description
See rkdecop()
.
Usage
## S3 method for class 'kdecopula'
simulate(object, nsim = 1, seed = NULL, quasi = FALSE,
...)
Arguments
object |
an object of class |
nsim |
integer; number of observations. |
seed |
integer; |
quasi |
logical; the default ( |
... |
unused. |
Value
Simulated data from the fitted kdecopula
model.
Examples
data(wdbc)
udat <- apply(wdbc[, -1], 2, function(x) rank(x) / (length(x) + 1))
fit <- kdecop(udat[, 5:6])
plot(simulate(fit, 500))
[Package kdecopula version 0.9.2 Index]