Skip to content

Instantly share code, notes, and snippets.

@mick001
Last active March 13, 2016 22:19
Show Gist options
  • Save mick001/149a36b72f8f5869c97a to your computer and use it in GitHub Desktop.
Save mick001/149a36b72f8f5869c97a to your computer and use it in GitHub Desktop.
How to fit a copula model in R [heavily revised]. Part 1: basic tools. Full article at http://firsttimeprogrammer.blogspot.com/2016/03/how-to-fit-copula-model-in-r-heavily.html
# Copula package
library(copula)
# Fancy 3D plain scatterplots
library(scatterplot3d)
# ggplot2
library(ggplot2)
# Useful package to set ggplot plots one next to the other
library(grid)
set.seed(235)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment