plot.bicop_dist {rvinecopulib} | R Documentation |
Plotting tools for bicop_dist
and bicop
objects
Description
There are several options for plotting bicop_dist 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).
Usage
## S3 method for class 'bicop_dist'
plot(x, type = "surface", margins, size, ...)
## S3 method for class 'bicop'
plot(x, type = "surface", margins, size, ...)
## S3 method for class 'bicop_dist'
contour(x, margins = "norm", size = 100L, ...)
## S3 method for class 'bicop'
contour(x, margins = "norm", size = 100L, ...)
Arguments
x |
|
type |
plot type; either |
margins |
options are: |
size |
integer; the plot is based on values on a |
... |
See Also
bicop_dist()
, graphics::contour()
, wireframe()
Examples
## construct bicop_dist object for a student t copula
obj <- bicop_dist(family = "t", rotation = 0, parameters = c(0.7, 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
[Package rvinecopulib version 0.6.3.1.1 Index]