TeachingDemos2.13 package

Demonstrations for Teaching and Learning

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 graphical devic...

col2grey

Convert colors to grey/grayscale

correct

Plot a visualization of the correlation using colored rectangles

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

faces

Chernoff Faces

faces2

Chernoff Faces

fagan

Create a Fagan plot to demonstrate Bayes Theorem and screening tests

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 chained togethe...

lattice.demo

Interactively explore the conditioned panels in lattice plots.

loess.demo

Demonstrate the internals of loess curve fits

mle.demo

Demonstrate the basic concept of Maximum Likelihood Estimation

ms.polygram

Symbol functions/data to be passed as symb argument to my.symbols

mysymbols

Draw Symbols (User Defined) on a Plot

normtest

Test the uninteresting question of whether the data represents an exac...

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

plot.rgl.coin

Animated die roll or coin flip

plot2script

Create a script from the current plot

power.examp

Graphically illustrate the concept of power.

put.points.demo

Demonstrate Correlation and Regression by placing and moving data poin...

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 bars.

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

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 lines to see ...

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 changing para...

TkListView

Interactivly view structures of list and list like objects.

TkPredict

Plot predicted values from a model against one of the predictors for a...

TkSpline

Plot a set of data in a Tk window and interactively move a line to see...

tree.demo

Interactively demonstrate regression trees

triplot

Create or add to a Trilinear Plot

updateusr

Updates the 'usr' coordinates in the current plot.

vis.binom

Plot various distributions then interactivly adjust the parameters.

vis.boxcox

Interactively visualize Box-Cox transformations

vis.test

Do a Visual test of a null hypothesis by choosing the graph that does ...

z.test

Z test for known population standard deviation

zoomplot

Zoom or unzoom an existing plot in the plot window

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.

  • Maintainer: Greg Snow
  • License: Artistic-2.0
  • Last published: 2024-02-16