Blog Archives

Next Kölner R User Meeting: 18 Oktober 2013

October 14, 2013
By
Next Kölner R User Meeting: 18 Oktober 2013

Quick reminder: The next Cologne R user group meeting is scheduled for this Friday, 18 October 2013. We will discuss and hear about the apply family of functions and the XLConnect package. Further details and the agenda are available on our KölnRUG Meetup site. Please sign up if you would like to come along. Notes from past...

Read more »

Creating a matrix from a long data.frame

October 1, 2013
By

There can never be too many examples for transforming data with R. So, here is another example of reshaping a data.frame into a matrix.Here I have a data frame that shows incremental claim payments over time for different loss occurrence (origin) years...

Read more »

Changing the width of bars and columns in googleVis

September 24, 2013
By

Changing the plotting width in bar-, column- and combo-charts of googleVis works identical and is defined by the bar.groupWidth argument. The dot in the argument means that it has to be split in R into bar="{groupWidth:'10%'}". Example library(googleVis)cc ...

Read more »

Using planel.groups in lattice

September 17, 2013
By
Using planel.groups in lattice

Last Tuesday I attended the LondonR user group meeting, where Rich and Andy from Mango argued about the better package for multivariate graphics with R: lattice vs. ggplot2. As part of their talk they had a little competition in visualising London Unde...

Read more »

ave and the [ function in R

September 10, 2013
By

The ave function in R is one of those little helper function I feel I should be using more. Investigating its source code showed me another twist about R and the " are averaged, where each subset consist...

Read more »

Doughnut chart in R with googleVis

September 3, 2013
By

The guys at Google continue to update and enhance the Chart Tools API. One new recent feature is a pie chart with a hole, or as some call them: donut charts.Thankfully the new functionality is being achieved through new options for the existing pie cha...

Read more »

googleVis 0.4.4 released with new formatting options for tables

August 26, 2013
By

Over the weekend googleVis 0.4.4 found its way to CRAN. The function gvisTable gained a new argument formats that allow users to define the formats numbers displayed in tables. Thanks to J. Buros, who contributed the code.ExampleLoadingSession InfoR ve...

Read more »

ChainLadder 0.1.6 released with chain-ladder factor models

August 20, 2013
By
ChainLadder 0.1.6 released with chain-ladder factor models

Version 0.1.6 of the ChainLadder package has been released and is already available from CRAN.The new version adds the function CLFMdelta. CLFMdelta finds consistent weighting parameters delta for a vector of selected age-to-age chain-ladder factors fo...

Read more »

Setting axes limits with googleVis

August 6, 2013
By

I posted about the various googleVis axis options for base charts, such as line, bar and area charts earlier, but I somehow forgot to mention how to set the axes limits.Unfortunately, there are no arguments such as ylim and xlim. Instead, the Google Ch...

Read more »

R in Insurance: Presentations are online

July 31, 2013
By
R in Insurance: Presentations are online

The programme and the presentation files of the first R in Insurance conference have been published on GitHub. Front slides of the conference presentations Additionally to the slides many presenters have made their R code available as well: Alexander McNeil shared the examples of the CreditRisk+ model he presented. Lola Miranda made a...

Read more »