Blog Archives

googleVis 0.5.5 released

August 19, 2014
By
googleVis 0.5.5 released

Earlier this week we released googleVis 0.5.5 on CRAN. The package provides an interface between R and Google Charts, allowing you to create interactive web charts from R. This is mainly a maintenance release, updating documentation and minor issues.Sc...

Read more »

GrapheR: A GUI for base graphics in R

August 12, 2014
By
GrapheR: A GUI for base graphics in R

How did I miss the GrapheR package? The author, Maxime Hervé, published an article about the package in the same issue of the R Journal as we did on googleVis. Yet, it took me a package update notification on CRANbeeries to look into GrapheR in more detail - 3 years later! And...

Read more »

Thanks to R Markdown: Perhaps Word is an option after all?

August 5, 2014
By
Thanks to R Markdown: Perhaps Word is an option after all?

In many cases Word is still the preferred file format for collaboration in the office. Yet, it is often a challenge to work with it, not so much because of the software, but how it is used and abused. Thanks to Markdown it is no longer painful to inclu...

Read more »

Hit and run. Think Bayes!

July 29, 2014
By
Hit and run. Think Bayes!

At the R in Insurance conference Arthur Charpentier gave a great keynote talk on Bayesian modelling in R. Bayes' theorem on conditional probabilities is strikingly simple, yet incredibly thought provoking. Here is an example from Daniel Kahneman to test your intuition. But first I have to start with Bayes' theorem.Bayes' theoremBayes' theorem states that given...

Read more »

Notes from the 2nd R in Insurance Conference

July 22, 2014
By
Notes from the 2nd R in Insurance Conference

The 2nd R in Insurance conference took place last Monday, 14 July, at Cass Business School London. This one-day conference focused once more on applications in insurance and actuarial science that use R. Topics covered included reserving, pricing, loss...

Read more »

Simple user interface in R to get login details

July 15, 2014
By
Simple user interface in R to get login details

Occasionally I have to connect to services from R that ask for login details, such as databases. I don't like to store my login details in the R source code file, instead I would prefer to enter the my login details when I execute the code.Fortunately,...

Read more »

googleVis 0.5.3 released

July 8, 2014
By
googleVis 0.5.3 released

Recently we released googleVis 0.5.3 on CRAN. The package provides an interface between R and Google Charts, allowing you to create interactive web charts from R.Screen shot of some of the Google ChartsAlthough this is mainly a maintenance release, I'd...

Read more »

Last chance to register for the R in Insurance conference

June 30, 2014
By
Last chance to register for the R in Insurance conference

The registration for the 2nd R in Insurance conference at Cass Business School London will close this Friday, 4 July. The programme includes talks from international practitioners and leading academics, see below. For more details and registration visi...

Read more »

Generating and visualising multivariate random numbers in R

June 24, 2014
By
Generating and visualising multivariate random numbers in R

This post will present the wonderful pairs.panels function of the psych package that I discovered recently to visualise multivariate random numbers.Here is a little example with a Gaussian copula and normal and log-normal marginal distributions. I use pairs.panels to illustrate the steps along the way.I start with standardised multivariate normal random numbers:library(psych)library(MASS)Sig ...

Read more »

Who will win the World Cup and which prediction model?

June 17, 2014
By
Who will win the World Cup and which prediction model?

The World Cup has finally kicked off last Thursday and I have seen some fantastic games already. Perhaps the Netherlands appears to be the strongest side so far, following their 5-1 victory over Spain. To me the question is not only which country will win the World Cup, but also which prediction model will come closest to the...

Read more »