Learn R Programming

kdevine (version 0.4.1)

contour.kdevinecop: Contour plots of pair copula kernel estimates

Description

Contour plots of pair copula kernel estimates

Usage

# 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

Run this code
# NOT RUN {
data(wdbc, package = "kdecopula")                     # load data
u <- VineCopula::pobs(wdbc[, 5:7], ties = "average")  # rank-transform
# }
# NOT RUN {
# estimate density
fit <- kdevinecop(u)

# contour matrix
contour(fit)

# }

Run the code above in your browser using DataLab