Publications by Peter Prevos

Using R with Emacs and ESS

13.06.2018

A few years ago I ditched the spreadsheet in favour of writing code in R. During the process I learnt a valuable lesson: The steeper the learning curve, the larger the reward. My time invested in learning R has paid off in spades, and I now use the R language for all my numerical and qualitative analysis. Most data scientists solve data problems ...

7602 sym 3 img

The Devil is in the Data is moving

04.07.2018

Dear readers, I have been consolidating my online presence and the Devil is in the Data blog has moved to the Lucid Manager website. This will be the last post on this domain and I hope to see you again on The Lucid Manager. All existing subscriptions and RSS will be transferred to the new website and all pages on this site will be redirected to ...

866 sym

Euler Problem 33: Digit Cancelling Fractions and Ford Circles

08.07.2018

Euler Problem 33 takes us back to the world of fractions from our primary school days. Many kids hate and struggle learning about fractions but once you master them, a new world of numbers opens up. Unfortunately, the proliferation of digital calculators has negated the use of fractions in favour of decimal expressions. Fractions are an aesthetic...

3629 sym R (2089 sym/3 pcs) 6 img

Call Centre Workforce Planning Using Erlang C in R language

18.07.2018

We all hate the experience of calling a service provider and being placed on hold for a very long time. Organisations that take their level of service seriously plan their call centres so that the waiting times for customers is within acceptable limits. Having said this, making people wait for something can in some instances increase the level of...

8295 sym R (2993 sym/4 pcs) 26 img

Call Centre Workforce Planning Using Erlang C in R language

18.07.2018

We all hate the experience of calling a service provider and being placed on hold for a very long time. Organisations that take their level of service seriously plan their call centres so that the waiting times for customers is within acceptable limits. Having said this, making people wait for something can in some instances increase the level of...

8295 sym R (2993 sym/4 pcs) 26 img

Flat Earth Mathematics in the R Language

01.09.2018

I am soon embarking on a trip around the world to speak at the World Water Congress in Tokyo, visit family and friends in the Netherlands and some tourism in San Francisco. One of the workshops I am involved with is about Fake News in the water industry. Fake news and conspiracies are threatening western civilisation, and one of the craziest tren...

6116 sym R (1677 sym/3 pcs) 12 img

Geocoding with ggmap and the Google API

09.10.2018

Some of the most popular articles on the Devil is in the Data show how to visualise spatial data creatively. In the old days, obtaining latitude and longitude required a physical survey, with Google maps, this has become a lot easier. The geocode function from the ggmap package extracts longitude and latitude from Google maps, based on a location...

2606 sym R (770 sym/3 pcs) 10 img

Celebrate Halloween with Creepy Computer Games in R

27.10.2018

In the 1980s I spent my time writing code on my 8-bit ZX81 and Atari computers. I learnt everything I know about programming from copying and modifying printed code listings from books with computer games. The games in these books are mostly simple text-based games, but the authors gave them enticing names, often imaginatively illustrated to visu...

3300 sym R (3246 sym/6 pcs) 4 img

Discourse Network Analysis: Undertaking Literature Reviews in R

14.11.2018

Literature reviews are the cornerstone of science. Keeping abreast of developments within any given field of enquiry has become increasingly difficult given the enormous amounts of new research. Databases and search technology have made finding relevant literature easy but, keeping a coherent overview of the discourse within a field of enquiry is...

5797 sym R (1387 sym/3 pcs) 14 img

Discourse Network Analysis: Undertaking Literature Reviews in R

14.11.2018

Literature reviews are the cornerstone of science. Keeping abreast of developments within any given field of enquiry has become increasingly difficult given the enormous amounts of new research. Databases and search technology have made finding relevant literature easy but, keeping a coherent overview of the discourse within a field of enquiry is...

5496 sym R (1358 sym/4 pcs) 12 img