It’s often the case that I want to write an R script that loops over multiple datasets, or different subsets of a large dataset, running the same procedure over them: generating plots, or fitting a model, perhaps. I set the script running and turn to another task, only to come back later and find the
Did you find this post useful? Does your organization need Oracle services? We can help. Much of this morning went into investigating strange ADDM reports on a two-node Oracle RAC database. For some reason, there were statistically improbable differences…
Read more »
Here’s an example of how to color your plot shapes and pch using an ifelse() statement. Ifelse() is handy as it creates an easy way to branch a function. The syntax is: ifelse(logical.condition, option1, option2). Meaning, if the logical condi...
Read more »
Featured I’ll be leading two courses in the near future: Value-at-Risk versus Expected Shortfall 2012 October 30-31, London. 30th: “Addressing the critical challenges and issues raised by the Basel proposal to replace VaR with Expected Shortfall” 31st: “Variability in Value-at-Risk and Expected Shortfall” led by Patrick Burns Details at CFP Events. Finance with R Workshop … Continue reading...
Read more »
In a previous post we used the web of sexual contacts among characters on the Grey’s Anatomy television show to look at some social network analysis using R. To celebrate the beginning of the new season, Ben Lind has put … Continue reading →
Read more »
The latest version of lubridate offers some powerful new features and huge speed improvements. Some areas, such as date parsing are more than 50 times faster. lubridate 1.2.0 also fixes those pesky NA bugs in 1.1.0. Here’s some of what you’ll find: Parsers can now handle a wider variety date formats, even within the same 
Read more »