TeachingDemos: Demonstrations for Teaching and Learning

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

View on R-Forge

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

Files in this package

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