Contour plots of pair copula kernel estimates

# S3 method for kdevinecop
contour(x, tree = "ALL", xylim = NULL, cex.nums = 1, ...)

Arguments

x

a kdevinecop object.

tree

"ALL" or integer vector; specifies which trees are plotted.

xylim

numeric vector of length 2; sets xlim and ylim for the contours.

cex.nums

numeric; expansion factor for font of the numbers.

...

arguments passed to contour.kdecopula.

Examples

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)