plot.copula.Rd
plot.copula plots a 2 dimensional copula, using empirical CDF.
# S3 method for copula plot(data, ggplot = FALSE)
data | 2 dimensional matrix |
---|
plot of copula
#Example using bivariate normal N <- 1000 data <- rbi_norm(10000,rho=0.7) class(data) <- 'copula' plot(data, ggplot=T)#Example using 1-Fréchet N <- 10000 R <- -1/log(runif(N)) U <- runif(N) X <- R*U Y <- R*(1-U) data <- matrix(c(X,Y),ncol=2) class(data) <- 'copula' plot(data, ggplot=T)