In those Copula codes you can get a rough idea what copula is, how to estimate and simulate it, how to test its performance, etc., to help…
View More Visualize CopulasAuthor: calsalmon
Copula Functions, R, and the Financial Crisis
From: In defense of the Gaussian copula, The Economist “The Gaussian copula provided a convenient way to describe a relationship that held under particular conditions. But…
View More Copula Functions, R, and the Financial CrisisBivariate Flood Frequency Analysis by R Copula Function
http://r4hydrology.wordpress.com/ The joints distribution frequency analysis by copula family is presented with R code (example#code). The data used in this analysis were flood peak,…
View More Bivariate Flood Frequency Analysis by R Copula FunctionLearn R : 12 Books and Online Resources
R, an open-source statistical and data mining programming language, is slowly but surely catching up in its race with commercial software like SAS & SPSS.…
View More Learn R : 12 Books and Online ResourcesFor loops (and how to avoid them)
My experience when starting out in R was trying to clean and recode data usingfor() loops, usually with a few if() statements in the loop as well, and finding…
View More For loops (and how to avoid them)XLConnect : read, write and manipulate Microsoft Excel files from within R
XLConnect is a package that allows for reading, writing and manipulating Microsoft Excel files from within R. It does not require any installation of Microsoft Excel…
View More XLConnect : read, write and manipulate Microsoft Excel files from within RDATA FRAMES
DATA FRAMES Preamble There is plenty to say about data frames because they are the primary data structure in R. Some of what follows is…
View More DATA FRAMESExtract or Replace Parts of a Data Frame
Extract.data.frame {base} R Documentation Extract or Replace Parts of a Data Frame Description Extract or replace subsets of data frames. Usage x[i] x[i] <- value…
View More Extract or Replace Parts of a Data FrameRegular Expression Tutorial 2: Commands in R
The second part of the tutorial for regular expression will cover common commands used in R together with regular expression. Once you know how to…
View More Regular Expression Tutorial 2: Commands in Rextract all numbers from a string
Thanks *VERY* much, this is great! I realized a few more cases, I think I’ve got something that covers all the possibilities now: library(stringr) tmpstr…
View More extract all numbers from a string