# Monthly Archives: April 2012

## Heat map visualization of sick day trends in Finland with R, ggplot2 and Google Correlate

April 24, 2012
By

Inspired by Margintale’s post “ggplot2 Time Series Heatmaps” and Google Flu Trends I decided to use a heat map to visualize sick days logged by HeiaHeia.com Finnish users. I got the data from our database, filtering results by country (Finnish users only) in a tab separated form with the first line as the header. Three columns

## Rmetrics financial engineering workshop

April 24, 2012
By

For those looking for an in-depth workshop on financial engineering with R, look no further than the R/Rmetrics Workshop and Summer School held annually in beautiful Meielisalp, Switzerland. This is an intimate workshop limited to around 50 participants, and features tutorials from leading practitioners in finance with R. This year's workshop takes plase June 24-28. You can find the...

## Animations in R

April 24, 2012
By

Animated charts can be very helpful in illustrating concepts or discovering relationships, which makes them very helpful in teaching and exploratory research. Fortunately, creating animated graphs in R is fairly straightforward, once you have the right tools and understand a few basic principles about how the animations are created. In this article I’ll provide an The post Animations...

## Animations in R

April 24, 2012
By

Animated charts can be very helpful in illustrating concepts or discovering relationships, which makes them very helpful in teaching and exploratory research. Fortunately, creating animated graphs in R is fairly straightforward, once you have the right...

## R: Interactive 3D WebGL plot of time-space cube with RGL

April 24, 2012
By

With the recently relased version of the package RGL (V. 0.92.879) there is a new option to publish 3D plots as an interactive WebGL graphic. Nearly every 3D plot you set up in a RGL window can be exportet via a very easy command. Just plot as usual into your rgl device and then use

## Milano R net meeting

April 24, 2012
By

I received the announce of the first Milano R net meeting, and I am glad to post it below. If you are based in Milano area you might think about going. If you are not based in Milano area, you might think about going as well! Milano R net Milano R net is a users

April 24, 2012
By

Following my previous post about rewriting my code to run in parallel I have modified the code for downloading the S&P 500 prices from Yahoo to run i parallel as well. To be honest, I quite enjoy writing the code to run in parallel. It's fun for various reasons, but some theoretical background is highly

## Simple Moving Average Strategy with a Volatility Filter: Follow-Up Part 1

April 23, 2012
By

Analyzing transactions in quantstrat This post will be part 1 of a follow up to the original post, Simple Moving Average Strategy with a Volatility Filter. In this follow up, I will take a closer look at the individual trades of each strategy. This may provide valuable information to explain the difference in performance of the SMA … Continue reading...

## Project Euler…in LaTeX?

April 23, 2012
By

I've been joking for a while now that I was going to start solving project euler problems in LaTeX.  Then today I finally did one.  So let's talk about solving Project Euler problem number 1 (the easy one) using only LaTeX. The problem asks you to sum up all the positive integers below 1000 which are divisible by 3...

## Complex arithmetic and airplane wings

April 23, 2012
By
$Complex arithmetic and airplane wings$

I was once told that the reason that such a shape was so commonly used for aeroplane wings was merely that then one could study it mathemtically by just employing the Zhoukowski transformation. I hope that this is not true! (R. Penrose, “The Road to Reality”, p.150) Penrose here talks about a complex holomorphic mapping