animation2.7 package

A Gallery of Animations in Statistics and Utilities to Create Animations

ani.options

Set or query animation options

ani.pause

Pause for a while and flush the current graphical device

ani.record

Record and replay animations

ani.start

Generate an HTML animation page

animation-package

A Gallery of Animations in Statistics and Utilities to Create Animatio...

bisection.method

Demonstration of the Bisection Method for root-finding on an interval

BM.circle

Brownian Motion in a circle

boot.iid

Demonstrate bootstrapping for iid data

boot.lowess

Bootstrapping with LOWESS

brownian.motion

Demonstration of Brownian motion on the 2D plane

buffon.needle

Simulation of Buffon's Needle

clt.ani

Demonstration of the Central Limit Theorem

conf.int

Demonstration of the concept of confidence intervals

convert

A wrapper for the `convert' utility of ImageMagick or GraphicsMagick

cv.ani

Demonstration for the process of cross-validation

cv.nfeaturesLDA

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

ecol.death.sim

A simulation of the death of two species with certain probabilities

flip.coin

Probability in flipping coins

g.brownian.motion

Brownian Motion using Google Visualization API

grad.desc

Gradient Descent Algorithm for the 2D case

kfcv

Sample sizes for k-fold cross-validation

kmeans.ani

Demonstration of the k-Means clustering algorithm

knn.ani

Demonstration of the k-Nearest Neighbour classification

least.squares

Demonstrate the least squares method

lln.ani

Demonstration of Law of Large Numbers

MC.hitormiss

Hit or Miss Monte Carlo integration

MC.samplemean

Sample Mean Monte Carlo integration

moving.block

Cycle through an R object and plot each subset of elements

mwar.ani

Demonstration for ``Moving Window Auto-Regression''

newton.method

Demonstration of the Newton-Raphson method for root-finding

pdftk

A wrapper for the PDF toolkit Pdftk

price.ani

Demonstrate stock prices in animations

qpdf

A wrapper for the PDF toolkit qpdf

quincunx

Demonstration of the Quincunx (Bean Machine/Galton Box)

Rosling.bubbles

The bubbles animation in Hans Rosling's Talk

sample.cluster

Demonstration for the cluster sampling

sample.ratio

Demonstrate the ratio estimation in sampling survey

sample.simple

Demonstration for simple random sampling without replacement

sample.strat

Demonstration for the stratified sampling

sample.system

Demonstration for the systematic sampling

saveGIF

Convert images to a single animation file (typically GIF) using ImageM...

saveHTML

Insert animations into an HTML page

saveLatex

Insert animations into a LaTeX document and compile it

saveSWF

Convert images to Flash animations

saveVideo

Convert a sequence of images to a video by FFmpeg

sim.qqnorm

Simulation of QQ plots for the Normal distribution

vi.grid.illusion

Visual illusions: Scintillating grid illusion and Hermann grid illusio...

vi.lilac.chaser

Visual Illusions: Lilac Chaser

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.

  • Maintainer: Yihui Xie
  • License: GPL
  • Last published: 2021-10-07