Blog Archives

Changing colours and legends in lattice plots

December 4, 2012
By
Changing colours and legends in lattice plots

Lattice plots are a great way of displaying multivariate data in R. Deepayan Sarkar, the author of lattice, has written a fantastic book about Multivariate Data Visualization with R . However, I often have to refer back to the help pages to remind myself how to set and change the legend and how to ensure that...

Read more »

Data.table rocks! Data manipulation the fast way in R

November 27, 2012
By
Data.table rocks! Data manipulation the fast way in R

I really should make it a habit of using data.table. The speed and simplicity of this R package are astonishing. Here is a simple example: I have a data frame showing incremental claims development by line of business and origin year. Now I would like add a column with the cumulative claims position for each line of...

Read more »

Claims reserving in R: ChainLadder 0.1.5-4 released

November 20, 2012
By

Last week we released version 0.1.5-4 of the ChainLadder package on CRAN. The R package provides methods which are typically used in insurance claims reserving. If you are new to R or insurance check out my recent talk on Using R in Insurance.The chain-ladder method which is a popular method in the insurance industry to forecast future...

Read more »

Simulating neurons or how to solve delay differential equations in R

November 13, 2012
By

I discussed earlier how the action potential of a neuron can be modelled via the Hodgkin-Huxely equations. Here I will present a simple model that describes how action potentials can be generated and propagated across neurons. The tricky bit here is that I use delay differential equations (DDE) to take into account the propagation time of the signal...

Read more »

googleVis 0.3.3 is released and on its way to CRAN

November 2, 2012
By
googleVis 0.3.3 is released and on its way to CRAN

I am very grateful to all who provided feedback over the last two weeks and tested the previous versions 0.3.1 and 0.3.2, which were not released on CRAN. So, what changed since version 0.3.2?Not much, but plot.gvis didn't open a browser window when op...

Read more »

googleVis 0.3.2 is released: Better integration with knitr

October 29, 2012
By
googleVis 0.3.2 is released: Better integration with knitr

After last week's kerfuffle I hope the roll out of googleVis version 0.3.2 will be smooth. To test the water I release this version into the wild here and if it doesn't get shot down in the next days, then I shall try to upload it to CRAN. I am mindful...

Read more »

googleVis 0.3.0/0.3.1 is released: It’s faster!

October 23, 2012
By
googleVis 0.3.0/0.3.1 is released: It’s faster!

Version 0.3.0 of the googleVis package for R has been released on CRAN on 20 October 2012. With this version we have been able to speed up the code considerably. The transformation of R data frames into JSON works significantly faster. The execution of the gvisMotionChart function in the World Bank demo is over 35 times...

Read more »

Review: Kölner R Meeting 5 October 2012

October 10, 2012
By
Review: Kölner R Meeting 5 October 2012

The third Cologne R user meeting took place last Friday, 5 October 2012, at the Institute of Sociology.The evening was sponsored by Revolution Analytics, who provided funding which went towards the Kölner R user group Meetup page. We had a good tur...

Read more »

Connecting the real world to R with an Arduino

October 2, 2012
By
Connecting the real world to R with an Arduino

If connecting data to the real world is the next sexy job, then how do I do this? And how do I connect the real world to R?It can be done as Matt Shottwell showed with his home made ECG and a patched version of R at useR! 2011. However, there are ot...

Read more »

Next Kölner R User Meeting: 5 October 2012

September 25, 2012
By
Next Kölner R User Meeting: 5 October 2012

The next Cologne R user group meeting is scheduled for 5 October 2012. All details and the agenda are available on the KölnRUG Meetup site. Please sign up if you would like to come along. Notes from the last Cologne R user group meeting are available ...

Read more »