Blog Archives

googleVis 0.4.7 with RStudio integration on CRAN

November 12, 2013
By
googleVis 0.4.7 with RStudio integration on CRAN

In my previous post, I presented a preview version of googleVis that provided an integration with RStudio's Viewer pane (introduced with version 0.98.441).Over 80% in my little survey favoured the new default output mechanism of googleVis within RStudi...

Read more »

Display googleVis charts within RStudio

November 5, 2013
By
Display googleVis charts within RStudio

The preview version 0.98.441 of RStudio introduced a new viewer pane to render local web content and with that it allows me to display googleVis charts within RStudio rather than in a separate browser window. I think this is a rather nice feature and...

Read more »

High resolution graphics with R

October 29, 2013
By
High resolution graphics with R

For most purposes PDF or other vector graphic formats such as windows metafile and SVG work just fine. However, if I plot lots of points, say 100k, then those files can get quite large and bitmap formats like PNG can be the better option. I just have to be mindful of the resolution.As an example I create the following...

Read more »

Review: Kölner R Meeting 18 October 2013

October 22, 2013
By
Review: Kölner R Meeting 18 October 2013

The Cologne R user group met last Friday for two talks on split apply combine in R and XLConnect by Bernd Weiß and Günter Faes respectively, before the usual Schnitzel and Kölsch at the Lux.Split apply combine in R The apply family of functions in R is incredible powerful, yet for newcomers often somewhat mysterious....

Read more »

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 »