Image

Animations in R

I’ve been playing with animations in R.  Here’s an example:
animation

Here’s how I did this:

library(animation)
saveGIF({
  for (i in seq(0,360,5)){
    persp(volcano, theta=i, phi=30, expand=0.5, col="lightblue")
  }
})

I might use a visualization like this to show economic output by MSAs.

Advertisements