plot.bicop_dist | R Documentation |
bicop_dist
and bicop
objectsThere 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).
## 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, ...)
x |
|
type |
plot type; either |
margins |
options are: |
size |
integer; the plot is based on values on a |
... |
optional arguments passed to |
bicop_dist()
, graphics::contour()
, wireframe()
## 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.