Contour plots of pair copula kernel estimates
# S3 method for kdevinecop
contour(x, tree = "ALL", xylim = NULL, cex.nums = 1, ...)
a kdevinecop
object.
"ALL"
or integer vector; specifies which trees are
plotted.
numeric vector of length 2; sets xlim
and ylim
for the contours.
numeric; expansion factor for font of the numbers.
arguments passed to contour.kdecopula
.
data(wdbc, package = "kdecopula") # load data
u <- VineCopula::pobs(wdbc[, 5:7], ties = "average") # rank-transform
wdbc <- wdbc[1:30, ]
# estimate density
fit <- kdevinecop(u)
# contour matrix
contour(fit)