# TeachingDemos: Demonstrations for Teaching and Learning Version 2.11

Demonstration functions that can be used in a classroom to demonstrate statistical concepts, or on your own to better understand the concepts or the programming.

 Author Greg Snow Date of publication 2016-02-14 00:43:02 Maintainer Greg Snow <538280@gmail.com> License Artistic-2.0 Version 2.11 Package repository View on R-Forge Installation Install the latest version of this package by entering the following in R: ``install.packages("TeachingDemos", repos="http://R-Forge.R-project.org")``

### Popular man pages

 clipplot: Clip plotting to a rectangular region dots: Create a quick dotchart (histogram) hpd: Compute Highest Posterior Density Intervals lattice.demo: Interactively explore the conditioned panels in lattice... plot.rgl.coin: Animated die roll or coin flip Pvalue.sim: Simulate P-values sigma.test: One sample Chi-square test for a population variance

## Man pages

bct: Box-Cox Transforms
cal: Plot a month or year calendar
ccc: Sample data downloaded and converted from a GPS unit
char2seed: Convert a character string into a random seed
chisq.detail: Print details of a chi-squared test
ci.examp: Plot examples of Confidence Intervals
clipplot: Clip plotting to a rectangular region
clt.examp: Plot Examples of the Central Limit Theorem
cnvrt.coords: Convert between the 5 different coordinate sytems on a...
coin.faces: Designs for coin faces for use with plot.rgl.coin
col2grey: Convert colors to grey/grayscale
correct: Plot a visualization of the correlation using colored...
cortest: Snow's Correctly Sized But Otherwise Useless Test of Anything
dice: Simulate rolling dice
digits: Return the digits that make up an integer
dots: Create a quick dotchart (histogram)
dynIdentify: Interacively place labels for points in a plot
evap: Data on soil evaporation.
faces: Chernoff Faces
faces2: Chernoff Faces
fagan: Create a Fagan plot to demonstrate Bayes Theorem and...
gp.open: Alpha version functions to send plotting commands to GnuPlot
hpd: Compute Highest Posterior Density Intervals
HWidentify: Show label for point being Hovered over.
ineq: Less than or Less than and equal operators that can be...
lattice.demo: Interactively explore the conditioned panels in lattice...
ldsgrowth: Growth of The Church of Jesus Christ of Latter-day Saints.
loess.demo: Demonstrate the internals of loess curve fits
mle.demo: Demonstrate the basic concept of Maximum Likelihood...
ms.polygram: Symbol functions/data to be passed as symb argument to...
mysymbols: Draw Symbols (User Defined) on a Plot
normtest: Test the uninteresting question of whether the data...
outliers: Outliers data
pairs2: Create part of a scatterplot matrix
panel.mysymbols: Draw Symbols (User Defined) on a Lattice Plot
petals: Play the Petals Around the Rose game
plot2script: Create a script from the current plot
plot.rgl.coin: Animated die roll or coin flip
power.examp: Graphically illustrate the concept of power.
put.points.demo: Demonstrate Correlation and Regression by placing and moving...
Pvalue.sim: Simulate P-values
R2txt: Save a transcript of commands and/or output to a text file.
rgl.Map: Plot a map in an rgl window
roc.demo: Demonstrate ROC curves by interactively building one
rotate.cloud: Interactively rotate 3D plots
run.cor.examp: Interactively demonstrate correlations
run.hist.demo: Create a histogram and interactively change the number of...
SensSpec.demo: Demonstrate Sensitivity, Specificity, PPV, and NPV
shadowtext: Add text to a plot with a contrasting background.
sigma.test: One sample Chi-square test for a population variance
simfun: Create a function to simulate data
slider: slider / button control widgets
sliderv: Create a Tk slider window
spread.labs: Spread out close points for labeling in plots
squishplot: Squish the plotting area to a specified aspect ratio
steps: Steps data
stork: Neyman's Stork data
subplot: Embed a new plot within an existing plot
TeachingDemos-package: Various functions for demonstration and learning.
TkApprox: Plot a set of data in a Tk window and interactively move...
tkBrush: Change the Color and Styles of points interactively
TkBuildDist: Interactively create a probability distribution.
tkexamp: Create Tk dialog boxes with controls to show examples of...
TkListView: Interactivly view structures of list and list like objects.
TkPredict: Plot predicted values from a model against one of the...
TkSpline: Plot a set of data in a Tk window and interactively move a...
tree.demo: Interactively demonstrate regression trees
triplot: Create or add to a Trilinear Plot
updateusr: Updates the 'usr' coordinates in the current plot.
USCrimes: US Crime Statistics
vis.binom: Plot various distributions then interactivly adjust the...
vis.boxcox: Interactively visualize Box-Cox transformations
vis.test: Do a Visual test of a null hypothesis by choosing the graph...
zoomplot: Zoom or unzoom an existing plot in the plot window
z.test: Z test for known population standard deviation

## Functions

HTKidentify Man page Source code
HWidentify Man page Source code
Predict.Plot Man page Source code
Pvalue.binom.sim Man page Source code
Pvalue.norm.sim Man page Source code
R2etxt Source code
R2mdtxt Source code
R2txt Source code
R2wdtxt Source code
SensSpec.demo Man page Source code
SnowsCorrectlySizedButOtherwiseUselessTestOfAnything Man page Source code
SnowsPenultimateNormalityTest Man page Source code
TeachingDemos Man page
TeachingDemos-package Man page
TkApprox Man page Source code
TkBuildDist Man page Source code
TkBuildDist2 Man page Source code
TkIdentify Man page Source code
TkListView Man page Source code
TkPredict Man page Source code
TkSlideRule Source code
TkSpline Man page Source code
USCrimes Man page
\%<=\% Man page
\%<\% Man page
bct Man page
cal Man page Source code
ccc Man page
char2seed Man page Source code
chisq.detail Man page
ci.examp Man page
clipplot Man page Source code
clt.examp Man page
cnvrt.coords Man page
coin.faces Man page
col2gray Man page Source code
col2grey Man page Source code
cor.rect.plot Man page Source code
dice Man page
digits Man page Source code
dots Man page
dots2 Man page
dynIdentify Man page Source code
emp.hpd Man page Source code
etxtComment Man page Source code
etxtPlot Man page Source code
etxtSkip Man page Source code
etxtStart Man page Source code
etxtStop Man page Source code
evap Man page
face2.plot Man page
faces Man page Source code
faces2 Man page
fagan.plot Man page Source code
flip.rgl.coin Man page Source code
gp.close Man page Source code
gp.open Man page Source code
gp.plot Man page Source code
gp.send Man page Source code
gp.splot Man page Source code
h2h Man page
have.ttk Source code
hpd Man page Source code
lattice.demo Man page
ldsgrowth Man page
loess.demo Man page
manipulate.cor.examp Source code
mdtxtComment Man page Source code
mdtxtPlot Man page Source code
mdtxtSkip Man page Source code
mdtxtStart Man page Source code
mdtxtStop Man page Source code
mle.demo Man page
ms.arrows Man page Source code
ms.face Man page Source code
ms.female Man page
ms.filled.polygon Man page Source code
ms.image Man page Source code
ms.male Man page
ms.polygon Man page Source code
ms.polygram Man page Source code
ms.sunflowers Man page Source code
my.symbols Man page Source code
oldzoomplot Man page Source code
outliers Man page
pairs2 Man page Source code
panel.dice Man page
panel.my.symbols Man page Source code
petals Man page Source code
plot.dice Man page
plot2script Man page Source code
plotFagan Man page Source code
plotFagan.old Man page Source code
plotFagan2 Man page Source code
plotFagan2.old Man page Source code
power.examp Man page Source code
power.refresh Man page
prepanel.dice Man page
prob.axis Source code
put.points.demo Man page
rgl.Map Man page
rgl.coin Man page Source code
rgl.die Man page Source code
roc.demo Man page
roll.rgl.die Man page Source code
rotate.cloud Man page
rotate.persp Man page
rotate.wireframe Man page
run.Pvalue.binom.sim Man page Source code
run.Pvalue.norm.sim Man page Source code
run.ci.examp Man page
run.cor.examp Man page Source code
run.cor2.examp Man page Source code
run.hist.demo Man page
run.old.cor.examp Man page
run.old.cor2.examp Man page
run.power.examp Man page Source code
run.power.examp.old Man page Source code
shadowtext Man page Source code
sigma.test Man page Source code
simfun Man page Source code
slideRule Source code
slideRule2 Source code
slider Man page Source code
sliderv Man page
spread.labs Man page Source code
squishplot Man page Source code
steps Man page
stork Man page
subplot Man page Source code
tdspinner Source code
tkBrush Man page Source code
tkexamp Man page Source code
towork Man page
tree.demo Man page
triplot Man page
txtComment Man page Source code
txtSkip Man page Source code
txtStart Man page Source code
txtStop Man page Source code
updateusr Man page Source code
vis.binom Man page
vis.boxcox Man page Source code
vis.boxcox.old Man page Source code
vis.boxcoxu Man page Source code
vis.boxcoxu.old Man page Source code
vis.gamma Man page
vis.normal Man page
vis.t Man page
vis.test Man page Source code
vt.normhist Man page Source code
vt.qqnorm Man page Source code
vt.residpermute Man page Source code
vt.residsim Man page Source code
vt.scatterpermute Man page Source code
vt.tspermute Man page Source code
wdtxtComment Man page Source code
wdtxtPlot Man page Source code
wdtxtSkip Man page Source code
wdtxtStart Man page Source code
wdtxtStop Man page Source code
z.test Man page Source code
zoomplot Man page Source code

## Files

DESCRIPTION
NAMESPACE
NEWS
R
R/00vars.R
R/HWidentify.R
R/Pvalue.sim.R
R/R2txt.R
R/SensSpec.demo.R
R/TkApprox.R
R/TkBuildDist.R
R/TkListView.R
R/TkPredict.R
R/TkSpline.R
R/bct.R
R/cal.R
R/char2seed.R
R/chisq.detail.R
R/ci.examp.R
R/clipplot.R
R/clt.examp.R
R/cnvrt.coords.R
R/col2grey.R
R/correct.R
R/dice.R
R/digits.R
R/dots.R
R/dots2.R
R/dynIdentify.R
R/face2.plot.R
R/faces.R
R/faces2.R
R/fagan.R
R/flip.rgl.coin.R
R/gnuplot.R
R/gp.splot.R
R/hpd.R
R/ineq.R
R/lattice.demo.R
R/limits.g.R
R/loess.demo.R
R/manipulate.cor.examp.R
R/mle.demo.R
R/ms.face.R
R/mysymbols.R
R/pairs2.R
R/panel.dice.R
R/panel.mysymbols.R
R/petals.R
R/plot.dice.R
R/plot.rgl.coin.R
R/plot.rgl.die.R
R/plot2script.R
R/power.examp.R
R/power.refresh.R
R/prepanel.dice.R
R/prob.axis.R
R/put.points.demo.R
R/range.R
R/rgl.Map.R
R/roc.demo.R
R/roll.rgl.die.R
R/rotate.cloud.R
R/rotate.persp.R
R/rotate.wireframe.R
R/run.ci.examp.R
R/run.cor.examp.R
R/run.cor2.examp.R
R/run.hist.demo.R
R/run.old.cor.examp.R
R/run.old.cor2.examp.R
R/run.power.examp.R
R/shadowtext.R
R/sigma.test.R
R/simfun.R
R/slideRule.R
R/slider.R
R/sliderv.R
R/spread.labs.R
R/squishplot.R
R/subplot.R
R/tdspinner.R
R/tests.R
R/tkBrush.R
R/tkexamp.R
R/tree.demo.R
R/triplot.R
R/updateusr.R
R/vis.binom.R
R/vis.boxcox.R
R/vis.boxcoxu.R
R/vis.gamma.R
R/vis.normal.R
R/vis.t.R
R/vis.test.R
R/z.test.R
data
data/USCrimes.rda
data/coin.faces.rda
data/evap.rda
data/gps.rda
data/ldsgrowth.rda
data/outliers.rda
data/steps.rda
data/stork.rda
man
man/HWidentify.Rd
man/Pvalue.sim.Rd
man/R2txt.Rd
man/SensSpec.demo.Rd
man/TeachingDemos-package.Rd
man/TkApprox.Rd
man/TkBuildDist.Rd
man/TkListView.Rd
man/TkPredict.Rd
man/TkSpline.Rd
man/USCrimes.Rd
man/bct.Rd
man/cal.Rd
man/ccc.Rd
man/char2seed.Rd
man/chisq.detail.Rd
man/ci.examp.Rd
man/clipplot.Rd
man/clt.examp.Rd
man/cnvrt.coords.Rd
man/coin.faces.Rd
man/col2grey.Rd
man/correct.Rd
man/cortest.Rd
man/dice.Rd
man/digits.Rd
man/dots.Rd
man/dynIdentify.Rd
man/evap.Rd
man/faces.Rd
man/faces2.Rd
man/fagan.Rd
man/gp.open.Rd
man/hpd.Rd
man/ineq.Rd
man/lattice.demo.Rd
man/ldsgrowth.Rd
man/loess.demo.Rd
man/mle.demo.Rd
man/ms.polygram.Rd
man/mysymbols.Rd
man/normtest.Rd
man/outliers.Rd
man/pairs2.Rd
man/panel.mysymbols.Rd
man/petals.Rd
man/plot.rgl.coin.Rd
man/plot2script.Rd
man/power.examp.Rd
man/put.points.demo.Rd
man/rgl.Map.Rd
man/roc.demo.Rd
man/rotate.cloud.Rd
man/run.cor.examp.Rd
man/run.hist.demo.Rd
man/shadowtext.Rd
man/sigma.test.Rd
man/simfun.Rd
man/slider.Rd
man/sliderv.Rd
man/spread.labs.Rd
man/squishplot.Rd
man/steps.Rd
man/stork.Rd
man/subplot.Rd
man/tkBrush.Rd
man/tkexamp.Rd
man/tree.demo.Rd
man/triplot.Rd
man/updateusr.Rd
man/vis.binom.Rd
man/vis.boxcox.Rd
man/vis.test.Rd
man/z.test.Rd
man/zoomplot.Rd
TeachingDemos documentation built on May 21, 2017, 12:55 a.m.