279 search results for "animation"

Because it’s Friday: A 3-minute movie in 4095 bytes

August 22, 2014
By

This entire movie — images, music, everything — is generated from a Windows PC executable of just 4,095 bytes. That's not a typo: we're not talking bytes not megabytes or gigabytes here. Less than 4kb total creates this entire scene. For comparison, a medium-quality video file of this exact same scene in AVI format comes in at over 64Mb:...

Read more »

A Few Notes on UseR! 2014

July 25, 2014
By
A Few Notes on UseR! 2014

It has been a month since the UseR! 2014 conference, and I'm probably the last one who writes about it. UseR! is my favorite conference because it is technical and not too big. I have completely lost interest in big and broad conferences like JSM (to me, it has become Joint Sightseeing Meetings). Karl has written two blog posts...

Read more »

Flood fill a region of an active device in R

July 23, 2014
By
Flood fill a region of an active device in R

The following is a function to "flood fill" a region on the active plotting device. Once called, the user will be asked to click on the desired target region. The flood fill algorithm then searches neighbors in 4 directions of the target cell (down, le...

Read more »

beepr (former pingr) is on CRAN. It’s easier than ever to make R go beep!

June 30, 2014
By
beepr (former pingr) is on CRAN. It’s easier than ever to make R go beep!

Even though I said it would never happen, my silly package with the sole purpose of playing notification sounds is now on CRAN. Big thanks to the CRAN maintainers for their patience! For instant gratification run the following in R to install beepr and make R produce a notification sound: install.packages("beepr") library(beepr) beep() This package was previously called pingr and included...

Read more »

Animated Choropleths in R

April 9, 2014
By
Animated Choropleths in R

Ari Lamstein has updated his choroplethr package with a new capability for creating animated data maps. I can't embed the animated version here, but click the image below to see an animation of US counties by average household income, from the richest to the poorest by percentile. (The code behind the animation is available on github.) The chloroplethr package...

Read more »

Making inferences about unusual population quantities.

April 4, 2014
By
Making inferences about unusual population quantities.

This post builds on my last: Alternatives to model diagnostics for statistical inference?, where I had claimed that we could make quality inferences about the best linear approximation to a quadratic relationship. The R code below implements such a scenario, to establish a framework for discussion. I have inserted comments to augment the code. set.seed(42)

Read more »

From Random Walks to Personalized PageRank

April 1, 2014
By
From Random Walks to Personalized PageRank

In graph theory (and its applications) it is often required to model how information spreads within a given graph. This is interesting for many applications, such as attack prediction, sybil detection, and recommender systems - just to name a...

Read more »

Why use R? Five reasons.

March 27, 2014
By
Why use R? Five reasons.

In this post I will go through 5 reasons: zero cost, crazy popularity, awesome power, dazzling flexibility, and mind-blowing support. I believe R is the best statistical programming language to learn. As a blogger who has contributed over 150 posts in Stata and over 100 in R I have extensive experience with both a proprietary statistical programming language...

Read more »

Going viral with R’s igraph package

March 23, 2014
By
Going viral with R’s igraph package

R's igraph package provides a simple and flexible set of utilities for working with graphs.  In this post, we'll use this package to animate the simulated spread of a disease through a network. Graphs A graph is just a collection of nodes joined by edges: require(igraph)# Specify an undirected graph by hand, using...

Read more »

The #rBlocks Experiments

March 19, 2014
By
The #rBlocks Experiments

What's this ? Where should I start? OK, the story goes like this ... rBlocks: A port of #ipythonblocks to #rstats http://t.co/iMMRPCxQIN @simplystats @gvwilson @hadleywickham...

Read more »