358 search results for "animation"

Color Quantization in R

January 3, 2016
By
Color Quantization in R

In this post, we'll look at a simple method to identify segments of an image based on RGB color values. The segmentation technique we'll consider is called color quantization. Not surprisingly, this topic lends itself naturally to visualization and R makes it easy to render some really cool graphics for the color quantization problem. ...

Read more »

Analyzing networks of characters in ‘Love Actually’

December 25, 2015
By
Analyzing networks of characters in ‘Love Actually’

Every Christmas Eve, my family watches Love Actually. Objectively it’s not a particularly, er, good movie, but it’s well-suited for a holiday tradition. (Vox has got my back here). Even on the eighth or ninth viewing, it’s impressive what an intricate network of characters it builds. This got me wondering how we could visualize the connections quantitatively, based...

Read more »

Update to metricsgraphics 0.9.0 (now on CRAN)

December 21, 2015
By

It’s been a while since I’ve updated my metricsgraphics package. The hit list for changes includes: Fixes for the new ggplot2 release (metricsgraphics uses the movies data set which is now in ggplot2movies) Updated all javascript libraries to the most recent versions Borrowed the ability to add CSS rules to a widget from taucharts (mjs_add_css_rule)

Read more »

Fear of WaPo Using Bad Pie Charts Has Increased Since Last Year

December 13, 2015
By
Fear of WaPo Using Bad Pie Charts Has Increased Since Last Year

I woke up this morning to a headline story from the Washington Post on “Americans are twice as willing to distance Christian extremists from their religion as Muslims“. This post is not about the content of the headline or story. It is about the horrible pie chart WaPo led the article with: This isn’t just

Read more »

Plotting Scopus article level citation data in R

December 13, 2015
By

(This article was first published on The 20% Statistician, and kindly contributed to R-bloggers) The Royal Society has decided to publish journal citations distributions. This makes sense. The journal impact factor is a single number trying to summarize a distribution, but it’s almost always better to plot your data. Somehave been hopeful that visualizing such distributions will make it...

Read more »

What do we ask in stack overflow

December 9, 2015
By
What do we ask in stack overflow

How many times you have an error in your code, query, etc and you don't have the solution? How many times in these cases you open your favorite browser and search in your favorite search engine and type (I mean copy/paste) that error and you click the first result you get and then you don't feel alone in this planet: "other people...

Read more »

An OS X R Task Runner for—and a Mini-R-centric review of—Microsoft’s Visual Studio Code Editor

November 21, 2015
By

Microsoft’s newfound desire to make themselves desirable to the hipster development community has caused them to make many things open and/or free of late. One of these manifestations is Visual Studio Code, an Atom-ish editor for us code jockeys. I have friends at Microsoft and the Revolution R folks are there now, so I try

Read more »

Create ARIMA time series from bottom up

November 20, 2015
By

Simulating ARIMA models Generating an arbitrary Auto-Regressive Integrated Moving Average (ARIMA) model is easy in R with the arima.sim() function that is part of the built-in {stats} package. In fact I've done it extensively in previous blog posts for various illustrative purposes. But one cost of doing this for educational purposes is that the mechanics of...

Read more »

Analyzing 1.1 Billion NYC Taxi and Uber Trips, with a Vengeance

November 17, 2015
By
Analyzing 1.1 Billion NYC Taxi and Uber Trips, with a Vengeance

The New York City Taxi & Limousine Commission has released a staggeringly detailed historical dataset covering over 1.1 billion individual taxi trips in the city from January 2009 through June 2015. Taken as a whole, the detailed trip-level data is more than just a vast list of taxi pickup and drop off coordinates: it’s a story of New York....

Read more »

Linear model with time series random component

November 14, 2015
By
Linear model with time series random component

What do auto-correlated residuals do to your linear model? For training purposes I wanted to illustrate the dangers of ignoring time series characteristics of the random part of a classical linear regression, and I came up with this animation to do it: I like this, because it shows how easy it is to fit something that looks to be...

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)