Learn R Programming

⚠️There's a newer version (2.7) of this package.Take me there.

animation (version 1.1-4)

Demonstrate Animations in Statistics

Description

This package contains various functions for animations in statistics, covering many areas such as probability theory, mathematical statistics, multivariate statistics, nonparametric statistics, sampling survey, linear models, time series, computational statistics, data mining and machine learning. These functions might be of help in teaching statistics and data analysis. Also provided in this package are several approaches to save animations to various formats, e.g. Flash, GIF, HTML page and PDF.

Copy Link

Version

Install

install.packages('animation')

Monthly Downloads

6,790

Version

1.1-4

License

GPL-2 | GPL-3

Maintainer

Yihui Xie

Last Published

December 4th, 2010

Functions in animation (1.1-4)

BM.circle

Brownian Motion in a Circle...
sim.qqnorm

Simulation of QQ plots for Normal distribution...
mwar.ani

Demonstration for ``Moving Window Auto-Regression''...
price.ani

Demonstrate Stock Prices in Animation...
sample.simple

Demonstration for simple random sampling without replacement...
clt.ani

Demonstration of the Central Limit Theorem...
MC.hitormiss

Hit or Miss Monte Carlo Integration...
flip.coin

Probability in flipping coins...
sample.system

Demonstration for systematic sampling...
buffon.needle

Simulation of Buffon's Needle...
boot.iid

Demonstrate bootstrapping for iid data.
saveMovie

Convert Images to A Single Animated Movie...
ani.options

Set or query animation parameters.
im.convert

A Wrapper for the `convert' Utility of ImageMagick...
lln.ani

Demonstration of Law of Large Numbers...
moving.block

Cycle Through an R Object and Plot Each Subset of Elements...
animation-defunct

Defunct functions in the animation package.
quincunx

Demonstration of the Quincunx (Bean Machine/Galton Box)...
kmeans.ani

Demonstration of K-Means Cluster Algorithm...
brownian.motion

Demonstration of Brownian motion on the 2D plane...
vi.grid.illusion

Visual Illusions: Scintillating grid illusion and Hermann grid illusion...
pollen

Synthetic dataset about the geometric features of pollen grains...
grad.desc

Gradient Descent Algorithm for the 2D Case...
animation-package

Statistical Animations Using R.
vanke1127

Stock prices of Vanke Co.
knn.ani

Demonstrate kNN classification algorithm on the 2D plane...
ani.stop

Write the HTML animation page.
cv.ani

Demonstration for the process of cross-validation...
bisection.method

Demonstration of the Bisection Method for Root-finding on an Interval...
saveLatex

Insert animations into a LaTeX document and compile it.
sample.cluster

Demonstration for cluster sampling...
least.squares

Demonstrate the Least Squares...
kfcv

Sample sizes for k-fold cross-validation...
HuSpeech

Word Counts of a Speech by Chinese President Hu.
MC.samplemean

Sample Mean Monte Carlo Integration...
cv.nfeaturesLDA

Cross-validation to find the optimum number of features (variables) in LDA...
conf.int

Demonstration of Confidence Intervals...
Rosling.bubbles

The Bubbles Animation in Hans Rosling's Talk ``Debunking third-world myths...
saveSWF

Convert Images to Flash Animations...
ecol.death.sim

A Simulation of Death of Two Species...
vi.lilac.chaser

Visual Illusions: Lilac Chaser...
newton.method

Demonstration of the Newton-Raphson Method for Root-finding...
ani.start

Start the generation of an HTML animation page.
pageview

Page views from Sep 21, 2007 to Dec 2, 2007 of Yihui's website.
sample.strat

Demonstration for stratified sampling...
g.brownian.motion

Brownian Motion Using Google Visualization API...
sample.ratio

Demonstrate the Ratio Estimation in Sampling Survey...