R

Blogs on the R software.

Le Monde puzzle [#1000…1025]

March 27, 2017
By
Le Monde puzzle [#1000…1025]

Le Monde mathematical puzzle launched a competition to celebrate its 1000th puzzle! A fairly long-term competition as it runs over the 25 coming puzzles (and hence weeks). Starting with puzzle #1001. Here is the 1000th puzzle, not part of the competition: Alice & Bob spend five (identical) vouchers in five different shops, each time buying […]

Read more »

Le Monde puzzle [#1001]

March 26, 2017
By
Le Monde puzzle [#1001]

After a long lag (due to my missing the free copies distributed at Paris-Dauphine!), here is a Sudoku-like Le Monde mathematical puzzle: A grid of size (n,n) holds integer values such that any entry larger than 1 is the sum of one term in the same column and one term in the same row. What […]

Read more »

Superpixels in imager

March 24, 2017
By
Superpixels in imager

Superpixels are used in image segmentation as a pre-processing step. Instead of segmenting pixels directly, we first group similar pixels into “super-pixels”, which can then be processed further (and more cheaply). (image from Wikimedia) The current version of imager doesn’t implement them, but it turns out that SLIC superpixels are particularly easy to implement. SLIC […]

Read more »

The Tidyverse Curse

March 23, 2017
By

I’ve just finished a major overhaul to my widely read article, Why R is Hard to Learn. It describes the main complaints I’ve heard from the participants to my workshops, and how those complaints can often be mitigated. Here’s the only … Continue reading →

Read more »

Data validation with the assertr package

March 20, 2017
By
Data validation with the assertr package

Version 2.0 of my data set validation package assertr hit CRAN just this weekend. It has some pretty great improvements over version 1. For those new to the package, what follows is a short and new introduction. For those who… Continue reading →

Read more »

what does more efficient Monte Carlo mean?

March 16, 2017
By
what does more efficient Monte Carlo mean?

“I was just thinking that there might be a magic trick to simulate directly from this distribution without having to go for less efficient methods.” In a simple question on X validated a few days ago [about simulating from x²φ(x)] popped up the remark that the person asking the question wanted a direct simulation method […]

Read more »

Forrester’s 2017 Take on Tools for Data Science

March 16, 2017
By
Forrester’s 2017 Take on Tools for Data Science

In my ongoing quest to track The Popularity of Data Science Software, I’ve updated the discussion of the annual report from Forrester, which I repeat here to save you from having to read through the entire document. If your organization … Continue reading →

Read more »

New version of imager package for image processing

March 15, 2017
By
New version of imager package for image processing

A new version of imager is now available on CRAN. This release brings a lot of new features, including a whole new set of functions dealing with pixel sets, better support for videos, new and faster reduction functions. The most significant change is the introduction of a “pixset” class, which deals with sets of pixels […]

Read more »

Jobs for “Data Science” Up 7-fold, for “Statistician” Down by Half

March 14, 2017
By
Jobs for “Data Science” Up 7-fold, for “Statistician” Down by Half

The Bureau of Labor Statistics projects that jobs for statisticians will grow by 34% between 2014 and 2024. However, according to the nation’s largest job web site, the number of companies looking for “statisticians” is actually in sharp decline. Those … Continue reading →

Read more »

Peter Lee (1940?-2017)

March 11, 2017
By
Peter Lee (1940?-2017)

Just heard the sad news that Peter Lee, British Bayesian and author of Bayesian Statistics: An Introduction, has passed away yesterday night. While I did not know him, I remember meeting him at a few conferences in the UK and spending an hilarious evening at the pub. When the book came out, I thought it […]

Read more »


Subscribe

Email:

  Subscribe