fitted.kdecopula {kdecopula} | R Documentation |
Extract fitted values from a kdecop()
fits.
Description
Simply calls predict(object, object$udata, what)
.
Usage
## S3 method for class 'kdecopula'
fitted(object, what = "pdf", ...)
Arguments
object |
an object of class |
what |
what to predict, one of |
... |
unused. |
See Also
predict.kdecopula()
Examples
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))
[Package kdecopula version 0.9.2 Index]