Monthly Archives: April 2012

How to remember point shape codes in R

April 24, 2012
By
How to remember point shape codes in R

I suspect I am not unique in not being able to remember how to control the point shapes in R. Part of this is a documentation problem: no package ever seems to write the shapes down. All packages just use the “usual set” that derives from S-Plus and was carried through base-graphics, to grid, lattice Related posts:

Read more »

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

April 24, 2012
By
Heat map visualization of sick day trends in Finland with R, ggplot2 and Google Correlate

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

Read more »

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...

Read more »

Animations in R

April 24, 2012
By
Animations in R

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...

Read more »

Animations in R

April 24, 2012
By
Animations in R

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...

Read more »

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

April 24, 2012
By
R: Interactive 3D WebGL plot of time-space cube with RGL

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

Read more »

Milano R net meeting

April 24, 2012
By
Milano R net meeting

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

Read more »

Download Prices From Yahoo In Parallel

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

Read more »

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

April 23, 2012
By
Simple Moving Average Strategy with a Volatility Filter: Follow-Up Part 1

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...

Read more »

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...

Read more »