Last chance! 50% off unlimited learning
Sale ends in
There are several options for plotting BiCop objects. The density of a
bivariate copula density can be visualized as surface/perspective or contour
plot. Optionally, the density can be coupled with standard normal margins
(default for contour plots). Furthermore, a lambda-plot is available (cf.,
BiCopLambda
).
# S3 method for BiCop
plot(x, type = "surface", margins, size, ...)# S3 method for BiCop
contour(x, margins = "norm", size = 100L, ...)
BiCop object.
plot type; either "surface"
, "contour"
, or
"lambda"
(partial matching is activated); the latter is only
implemented for a few families (c.f., BiCopLambda
).
only relevant for types "contour"
and
"surface"
; options are: "unif"
for the original copula density,
"norm"
for the transformed density with standard normal margins,
"exp"
with standard exponential margins, and "flexp"
with
flipped exponential margins. Default is "norm"
for type =
"contour"
, and "unif"
for type = "surface"
.
integer; only relevant for types "contour"
and
"surface"
; the plot is based on values on a type = "contour"
, and 25 for type =
"surface"
.
# NOT RUN {
## construct BiCop object for a Tawn copula
obj <- BiCop(family = 104, par = 2.5, par2 = 0.4)
## plots
plot(obj) # surface plot of copula density
contour(obj) # contour plot with standard normal margins
contour(obj, margins = "unif") # contour plot of copula density
# }
Run the code above in your browser using DataLab