Animation

Mapping Bike Accidents in R

September 14, 2012 | Corey Chivers

At last weekend’s Hack Ta Ville event here in Montreal, I joined up with some talented urban planners and web devs to realize Vélobstacles. The idea of the project is to crowd source information on cycling conditions around the city. As with any crowd sourcing project, we were ... [Read more...]

Sigma motion visual illusion in R

August 21, 2012 | Markus Gesmann

Michael Bach, who is a professor and vision scientist at the University of Freiburg, maintains a fascinating site about visual illusions. One visual illusion really surprised me: the sigma motion. The sigma motion displays a flickering figure of bla... [Read more...]

Fitting distributions with R

December 1, 2011 | mages

Fitting distribution with R is something I have to do once in a while.A good starting point to learn more about distribution fitting with R is Vito Ricci's tutorial on CRAN. I also find the vignettes of the actuar and fitdistrplus packag...
[Read more...]

Queueing up in R, continued

October 20, 2011 | Matt Asher

Shown above is a queueing simulation. Each diamond represents a person. The vertical line up is the queue; at the bottom are 5 slots where the people are attended. The size of each diamond is proportional to the log of the time it will take them to be attended. Color is ... [Read more...]

Plot Animation with Imported Images

October 10, 2011 | Kay Cichini

...I really dig the animation package! ..so here's the outcome of my firsts encounters with saveHTML() - I produced an animation with pre-existing images by utilizing the functions readJPEG() and rasterImage() from the R-packages jpeg and ReadImage...
[Read more...]

Conway’s Game of Life in R with ggplot2 and animation

June 5, 2011 | ramhiser

In undergrad I had a computer science professor that piqued my interest in applied mathematics, beginning with Conway’s Game of Life. At first, the Game of Life (not the board game) appears to be quite simple — perhaps, too simple — but it has been widely explored and is useful for ... [Read more...]

formatR update (0.1-5)

December 3, 2010 | Yihui Xie

he formatR package has been silent for quite a few months now. Recently I’ve been moving my old packages from R-Forge to GitHub, and I finally killed several things on my TODO list. In the past, I made an awkward decision to let formatR depend on the animation package, ... [Read more...]

Game of Life in R

May 5, 2010 | Matt Asher

Before I decided to learn R in a serious way, I thought about learning Flash/Actionscript instead. Most of my work involves evolutionary models that take place over time. I need visual representations of change. It’s certainly possible to represent change and tell an evolving story with a single ... [Read more...]

alphahull: an R Package for Alpha-Convex Hull

April 16, 2010 | Yihui Xie

new paper on the α-convex hull appeared in the Journal of Statistical Software today (http://www.jstatsoft.org/v34/i05/paper). The α-convex hull is an interesting problem which caught my attention long time ago but I didn’t know a solution then. R has a function chull() which can ... [Read more...]

Happy New Year with R

December 31, 2009 | Yihui Xie

I have to admit that the previous post on Christmas is actually not much fun. Today I received another pResent from Yixuan which is more interesting: Basically the code deals with letter polygons (i.e. glyphs) and plot them with proper projections from 3D to 2D space: ## original code by ... [Read more...]

Animation video of rgl in action

December 21, 2009 | Tal Galili

Duncan Murdoch just posted a youtube video presenting an animation clip of a 3d rgl object. Duncan even went further and wrote an explanation on how he made the video: here are the steps I used: 1.  Design a shape to be displayed, and then play with the animation functions to ... [Read more...]

Create Animations in PDF Documents Using R

November 11, 2009 | Yihui Xie

ince animation 1.0-9, we will be able to create a PDF document with an animation embedded in it; the function is saveLatex(), and its usage is similar to saveMovie() and saveSWF(): you pass an R expression for creating animations to this function, and this expression will be evaluated in the ... [Read more...]

50000 Revisions Committed to R

October 10, 2009 | Yihui Xie

oday Romain Francois posted an interesting topic in the R-help list, and you can read his blog post for more details: celebrating R commit #50000. 50000 is certainly not a small number; we do owe R core members a big “thank you” for their great efforts in this fantastic statistical language in ... [Read more...]

Simulation of Burning Fire in R

June 11, 2009 | Yihui Xie

inlin Yan posted a cool (hot?) simulation of burning fire with R in the COS forum yesterday, which was indeed a warm welcome. I’m not sure whether our forum members will be scared by the “fire” under the title “Welcome to COS Forum”. The fire was mainly created by ... [Read more...]

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)