Learn R Programming

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

animation (version 1.0-10)

Demonstrate Animations in Statistics

Description

This package consists of 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.

Copy Link

Version

Install

install.packages('animation')

Monthly Downloads

7,873

Version

1.0-10

License

GPL-2 | GPL-3

Maintainer

Yihui Xie

Last Published

December 2nd, 2009

Functions in animation (1.0-10)

conf.int

Demonstration of Confidence Intervals
highlight.def

Create R definition file for the software Highlight
ani.options

Set or Query Animation Parameters
moving.block

Cycle Through an R Object and Plot Each Subset of Elements
kfcv

Sample sizes for k-fold cross-validation
mwar.ani

Demonstration for ``Moving Window Auto-Regression''
sample.cluster

Demonstration for cluster sampling
tidy.source

`Tidy up' R Code and Partially Preserve Comments
bisection.method

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

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

Convert Images to Flash Animations
HuSpeech

Word Counts of a Speech by Chinese President Hu
brownian.motion

Demonstration of Brownian motion on the 2D plane
grad.desc

Gradient Descent Algorithm for the 2D Case
newton.method

Demonstration of the Newton-Raphson Method for Root-finding
g.brownian.motion

Brownian Motion Using Google Visualization API
ani.news

Read news of package `animation'
cv.ani

Demonstration for the process of cross-validation
quincunx

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

Demonstrate kNN classification algorithm on the 2D plane
Rosling.bubbles

The Bubbles Animation in Hans Rosling's Talk ``Debunking third-world myths with the best stats you've ever seen''
sample.strat

Demonstration for stratified sampling
pageview

Data of page view from Sep 21, 2007 for Yihui's website
pollen

Synthetic dataset about the geometric features of pollen grains
flip.coin

Probability in flipping coins
animation-package

Statistical Animations Using R
price.ani

Demonstrate Stock Prices in Animation
ani.stop

Write the HTML animation page
sample.system

Demonstration for systematic sampling
sample.simple

Demonstration for simple random sampling without replacement
sim.qqnorm

Simulation of QQ plots for Normal distribution
kmeans.ani

Demonstration of K-Means Cluster Algorithm
saveLatex

Insert Animations into A LaTeX Document and Compile It
least.squares

Demonstrate the Least Squares
clt.ani

Demonstration of the Central Limit Theorem
ecol.death.sim

A Simulation of Death of Two Species
vanke1127

Stock prices of Vanke Co., Ltd on 2009/11/27
lln.ani

Demonstration of Law of Large Numbers
write.rss

Create RSS feed from a CSV data file
vi.grid.illusion

Visual Illusions: Scintillating grid illusion and Hermann grid illusion
buffon.needle

Simulation of Buffon's Needle
MC.samplemean

Sample Mean Monte Carlo Integration
ani.start

Start the generation of an HTML animation page
boot.iid

Bootstrapping the i.i.d data
saveMovie

Convert Images to A Single Animated Movie
vi.lilac.chaser

Visual Illusions: Lilac Chaser
BM.circle

Brownian Motion in a Circle
MC.hitormiss

Hit or Miss Monte Carlo Integration