persp-methods {copula}R Documentation

Methods for Function persp in Package 'copula'

Description

Methods for function persp in package copula

Details

When x is of class "copula", these arguments can be supplied: fun: the function to be plotted, "dcopula" or "pcopula". n = 51: the number of points to do the plotting. theta = -30, phi = 30, expand = 0.618: arguments for "persp"

when x is of class "mvdc", two more arguments are expected to replace the effect of n = 51: xlim: the range of the x variable. ylim: the range of the y variable.

Methods

x = "copula"
Perspective plot for a "copula" object.
x = "mvdc"
Perspective plot for a "mvdc" object.

Examples

persp(frankCopula(-0.8), dcopula)
persp(claytonCopula(2), pcopula)
x <- mvdc(gumbelCopula(3), c("norm", "norm"),
          list(list(mean = 0, sd =1), list(mean = 1)))
persp(x, dmvdc, xlim=c(-2, 2), ylim=c(-1, 3))
persp(x, pmvdc, xlim=c(-2, 2), ylim=c(-1, 3))

[Package copula version 0.3-7 Index]