1 / 8

Statistical Animations Using R

Statistical Animations Using R. Yihui Xie useR! 2008 @ Dortmund Aug 11, 2008. Did you know that there are three kinds of statisticians – those that can count and those that can’t. Statistics are like a bikini; What is revealed is interesting; What is concealed is crucial.

Télécharger la présentation

Statistical Animations Using R

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Statistical Animations Using R Yihui Xie useR! 2008 @ Dortmund Aug 11, 2008 Statistical Animations Using R - Yihui Xie

  2. Did you know that there are three kinds of statisticians – those that can count and those that can’t. • Statistics are like a bikini; What is revealed is interesting; What is concealed is crucial. http://www.ilstu.edu/%7Egcramsey/Gallery.html Statistical Animations Using R - Yihui Xie

  3. Outline • The animation package • Demonstrations • Future developments Statistical Animations Using R - Yihui Xie

  4. The animation package • Yihui Xie (2008). animation: Demonstrate Animations in Statistics. R package version 1.0-1. http://animation.yihui.name • To turn ideas into animations (as quickly & faithfully as possible…) • Based on the common characteristic of animation and some statistical procedures • To produce animations in various formats Statistical Animations Using R - Yihui Xie

  5. The animation package (cont) for (i in 1:360) { plot(1, ann = FALSE, type = "n", axes = FALSE) text(1, 1, "Animation", srt = i, col = rainbow(360)[i], cex = 7 * i/360) Sys.sleep(0.01) } Statistical Animations Using R - Yihui Xie

  6. Demonstrations • Package features • Animations using R windows graphics devices • Creating animations in HTML pages (animated by JavaScript) • Third-party software • ImageMagick: GIF, MPEG (convert) • SWF Tools: Flash (png2swf, jpeg2swf, pdf2swf) • Statistical animations • Not “Tom & Jerry”, but stuff like CLT, kNN, … Statistical Animations Using R - Yihui Xie

  7. Future developments • More animations in statistics • Interactivity in the Web via “Rweb” • Probably a GUI? (Tcl/Tk, gWidgets) • SWF Tools utility “swfc” Statistical Animations Using R - Yihui Xie

  8. Thanks • Contact me • xie [at] yihui.name • (++86)-10-82509086 • http://www.yihui.name/ Statistical Animations Using R - Yihui Xie

More Related