powered by
kdecop()
See rkdecop().
rkdecop()
# S3 method for kdecopula simulate(object, nsim = 1, seed = NULL, quasi = FALSE, ...)
an object of class kdecopula.
kdecopula
integer; number of observations.
integer; set.seed(seed) will be called prior to rkdecop().
set.seed(seed)
logical; the default (FALSE) returns pseudo-random numbers, use TRUE for quasi-random numbers (generalized Halton, see
FALSE
TRUE
unused.
Simulated data from the fitted kdecopula model.
# NOT RUN { data(wdbc) udat <- apply(wdbc[, -1], 2, function(x) rank(x) / (length(x) + 1)) fit <- kdecop(udat[, 5:6]) plot(simulate(fit, 500)) # }
Run the code above in your browser using DataLab