fitted.kdecopula | R Documentation |
kdecop()
fits.Simply calls predict(object, object$udata, what)
.
## S3 method for class 'kdecopula'
fitted(object, what = "pdf", ...)
object |
an object of class |
what |
what to predict, one of |
... |
unused. |
predict.kdecopula()
data(wdbc)
udat <- apply(wdbc[, -1], 2, function(x) rank(x) / (length(x) + 1))
fit <- kdecop(udat[, 5:6])
all.equal(fitted(fit), predict(fit, fit$udata))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.