A Gallery of Animations in Statistics and Utilities to Create Animations

Provides functions for animations in statistics, covering topics in probability theory, mathematical statistics, multivariate statistics, non-parametric statistics, sampling survey, linear models, time series, computational statistics, data mining and machine learning. These functions may be helpful in teaching statistics and data analysis. Also provided in this package are a series of functions to save animations to various formats, e.g. Flash, 'GIF', HTML pages, 'PDF' and videos. 'PDF' animations can be inserted into 'Sweave' / 'knitr' easily.


animation

R-CMD-check Downloads from the RStudio CRAN mirror

Introduction

This is an R package to create and export animations to a variety of formats (HTML/JS, GIF, Video, PDF), and it also serves as a gallery of statistical animations.

Installation

To install the stable version on CRAN:

install.packages('animation')

To install the GitHub version under development:

install.packages('animation', repos = 'https://yihui.r-universe.dev')

If you want to contribute, the documentation and NAMESPACE of this package are generated by roxygen2 and Rd2roxygen:

if (!require('Rd2roxygen') install.packages('Rd2roxygen')
Rd2roxygen::rab('animation', install = TRUE)

Contact

Bugs and feature requests can be filed to https://github.com/yihui/animation/issues. Pull requests are also welcome.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("animation")

2.8 by Yihui Xie, a year ago


https://yihui.org/animation/


Report a bug at https://github.com/yihui/animation/issues


Browse source code at https://github.com/cran/animation


Authors: Yihui Xie [aut, cre] , URL: https://yihui.org) , Christian Mueller [ctb] , Lijia Yu [ctb] , Xinyuan Chu [ctb] , Weicheng Zhu [ctb]


Documentation:   PDF Manual  


GPL license


Imports magick

Suggests MASS, class, Cairo, fImport, rgl, zoo, testit

System requirements: ImageMagick (http://imagemagick.org) or GraphicsMagick (http://www.graphicsmagick.org) or LyX (http://www.lyx.org) for saveGIF(); (PDF)LaTeX for saveLatex(); SWF Tools (http://swftools.org) for saveSWF(); FFmpeg (http://ffmpeg.org) or avconv (https://libav.org/avconv.html) for saveVideo()


Imported by Cascade, CoSMoS, ZEP, anim.plots, anipaths, bamm, christmas, deseats, drhutools, eChem, enviGCMS, mdsOpt, movieROC, pez, spdynmod, statgenHTP.

Depended on by ggghost, idm, ndtv.

Suggested by EFDR, MSG, MittagLeffleR, Patterns, Rato, SpaDES.tools, cmsafvis, copula, ctmm, heplots, phytools, piecepackr, stream, surveillance, transport.


See at CRAN