Publications by Markus Gesmann

Reading Arduino data directly into R

17.02.2015

I have experimented with reading an Arduino signal into R in the past, using Rserve and Processing. Actually, it is much easier. I can read the output of my Arduino directly into R with the scan function. Here is my temperature sensor example again:And all it needs to read the signal into the R console with my computer is:> f <- file(...

1769 sym R (393 sym/2 pcs) 4 img 1 tbl

Minimal examples help

24.02.2015

The other day I got stuck working with a huge data set using data.table in R. It took me a little while to realise that I had to produce a minimal reproducible example to actually understand why I got stuck in the first place. I know, this is the mantra I should follow before I reach out to R-help, Stack Overflow or indeed the package...

2005 sym R (2924 sym/6 pcs)

Next Kölner R User Meeting: Friday, 6 March 2014

03.03.2015

The next Cologne R user group meeting is scheduled for this Friday, 6 March 2014 and we have an exciting agenda with two talks, followed by networking drinks:Using R in Excel via R.NETGünter Faes and Matthias SpixMS Office and Excel are the ‘de-facto’ standards in many industries. Using R with Excel offers an opportunity to combine the stati...

2102 sym 2 img

Notes from the Kölner R meeting, 6 March 2015

10.03.2015

At last Friday’s Cologne R user group meeting we welcomed two Northerners from the left and right (or ‘right’ and ‘wrong’) side of the Rhine.Using R in Excel via R.NETGünter Faes and Matthias SpixDownload slidesGünter and Michael presented examples of a new R Excel plugin ‘Calidris‘ they developed using R.net. The plug...

3152 sym 8 img 3 tbl

ChainLadder 0.2.0 adds Solvency II CDR functions

24.03.2015

ChainLadder is an R package that provides statistical methods and models for claims reserving in general insurance.With version 0.2.0 we added new functions to estimate the claims development result (CDR) as required under Solvency II. Special thanks to Alessandro Carrato, Giuseppe Crupi and Mario Wüthrich who have contributed code and documenta...

2628 sym R (1290 sym/1 pcs) 2 img

Interactive pivot tables with R

31.03.2015

I love interactive pivot tables. That is the number one reason why I keep using spreadsheet software. The ability to look at data quickly in lots of different ways, without a single line of code helps me to get an understanding of the data really fast.Perhaps I can do the same now in R as well. At yesterday’s LondonR meeting Enzo M...

1250 sym R (822 sym/2 pcs) 4 img 1 tbl

Test Driven Analysis

07.04.2015

I mused about Test Driven Analysis on this blog before, but it was Richard Pugh’s talk on SAS to R Migration at LondonR last week that brought the topic back into my mind and clarified a few things.Rich’s presentation focused on the challenge of how to ensure that the new system (R) would provide the same answers as the legacy sys...

1832 sym 6 img

Plotting tables alsongside charts in R

14.04.2015

Occasionally I’d like to plot a table alongside a chart in R, e.g. to present summary statistics of the graph itself. Thanks to the gridExtra package this is quite straightforward. The function tableGrob creates a table like plot of a data frame, while arrangeGrob allows me to arrange ggplot2, lattice and grid graphical objects (sho...

870 sym R (648 sym/1 pcs) 2 img

Combining several lattice charts into one

21.04.2015

Last week I mentioned the grid.arrange function of the gridExtra package that allows me to combine graphical grid objects onto one page. The latticeExtra package provides another elegant solution for trellis (lattice) plots: the function c.trellis() or just c() combines the panels of multiple trellis objects into one. Here is minimal ...

1348 sym R (676 sym/2 pcs) 4 img

R in Insurance 2015 Conference Programme

28.04.2015

The programme for the 3rd R in Insurance conference is on-line. The event will take place on 29 June 2015 at the University of Amsterdam. Time to register now. Special thanks to our sponsors, without whom the conference wouldn’t be possible: CYBAEA, RStudio, APPLIED AI, Milliman, QBE Re, AEGON, Delta Lloyd Amsterdam , Deloitte.You f...

889 sym 2 img