Software

4 posts
R packages useful for sports analytics

If you’re into R and analyzing sports data, you’ll want to save this CRAN task view: This CRAN Task View contains a list of packages useful for sports analytics. Most of the packages are sport-specific and are grouped as such. However, we also include a General section for packages that provide ancillary functionality relevant to sports analytics (e.g., team-themed color palettes), and a Modeling section for packages useful for statistical...

0 0
Agent-based modeling in JavaScript

Atomic Agents is a JavaScript library by Graham McNeill that can help simulate the interactions between people, places, and things in a two-dimensional space. Saving for later. Looks fun. Tags: agent, Graham McNeill, JavaScript, modeling

0 0
Ross Ihaka, co-creator of R, reflects on the language

NZ Herald talked to Ross Ihaka, one of the creators of R: Today, R is depended upon around the world by analysts, data scientists and big-name companies like Facebook, Google, Amazon and the New York Times, and it’s garnered Ihaka something of a rockstar status in the field of data science and statistics. He’s received numerous accolades over the years recognising his work, such as the Royal Society of New...

0 0
Colors for All, R package

If you use color as a visual encoding, you should make sure every one can actually see the differences in your scale. The cols4All package from Martijn Tennekes can help by ranking and categorizing a wide set of color schemes. Color palettes are well organized and made consistent with each other. Moreover, they are scored on several aspects: color-blind-friendliness, the presence of intense colors (which should be avoided), the overall...

0 0
The gift of small edits and subtraction

While making the chart on fertility rates (link), I came across a problem that pops up quite often, and is  ignored by most software programs. Here is an earlier version of the chart I later discarded: Compare this to the version I published in the blog post: Aside from adding the chart title, there is one major change. I removed the empty plots from the grid. This is a visualization...

0 0
SVG pattern repository

For when you want to fill SVG polygons with patterns instead of or in combination with color, Thomas Michael Semmler has a copy-and-paste collection. It’s just the basics, but it’s a convenient reference that could provide a starting point at the least. Tags: patterns, SVG, Thomas Michael Semmler

0 0
Visually displaying multipliers

As I'm preparing a blog about another real-world study of Covid-19 vaccines, I came across the following chart (the chart title is mine). As background, this is the trend in Covid-19 cases in the U.K. in the last couple of months, courtesy of OurWorldinData.org. The React-1 Study sends swab kits to randomly selected people in England in order to assess the prevalence of Covid-19. Every month, there is a new...

0 0
Generative art with R

Generative art seems to be having a moment right now, so it’s only appropriate that there’s an R package to help you make some. The aRtsy package by Koen Derks makes algorithms more straightforward to use. Set parameters and you’re off. Tags: generative art, R

0 0
Value of R, the Statistics-specific language

Paul Ford has been learning R to better understand the field of Statistics. The takeaway: Deep in its heart, R is a language for making charts, and it’s genuinely fun to go into its world: statistics, natural sciences, sociology — all right there. You will never pry me away from JavaScript or Python or the whole web stack of standards and protocols. They’re how I make things happen in the...

0 0
Spatula, a Python library for maintainable web scraping

This looks promising: While it is often easy, and tempting, to write a scraper as a dirty one-off script, spatula makes an attempt to provide an easy framework that most scrapers fit within without additional overhead. This reflects the reality that many scraper projects start small but grow quickly, so reaching for a heavyweight tool from the start often does not seem practical. The initial overhead imposed by the framework...

0 0