Learn R Programming

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

TeachingDemos (version 1.2)

Demonstrations for teaching and learning

Description

This package is a set of 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.

Copy Link

Version

Install

install.packages('TeachingDemos')

Monthly Downloads

10,035

Version

1.2

License

Artistic

Maintainer

Greg Snow

Last Published

February 17th, 2024

Functions in TeachingDemos (1.2)

loess.demo

Demonstrate the internals of loess curve fits
coin.faces

Designs for coin faces for use with plot.rgl.coin
plot.rgl.coin

Animated die roll or coin flip
sliderv

Create a Tk slider window
rgl.Map

Plot a map in an rgl window
cnvrt.coords

Convert between the 4 different coordinate sytems on a graphical device
faces2

Chernoff Faces
rotate.cloud

Interactively rotate 3D plots
faces

Chernoff Faces
dice

Simulate rolling dice
bct

Box-Cox Transforms
hpd

Compute Highest Posterior Density Intervals
z.test

Z test for known population standard deviation
chisq.detail

Print details of a chi-squared test
slider

slider / button control widgets
lattice.demo

Interactively explore the conditioned panels in lattice plots.
power.examp

Graphically illustrate the concept of power.
gp.open

Alpha version functions to send plotting commands to GnuPlot
strip.shingle

strip function for trellis plots
triplot

Create or add to a Trilinear Plot
run.hist.demo

Create a histogram and interactively change the number of bars.
clt.examp

Plot Examples of the Central Limit Theorem
mle.demo

Demonstrate the basic concept of Maximum Likelihood Estimation
tkBrush

Change the Color and Styles of points interactively
run.cor.examp

Interactively demonstrate correlations
put.points.demo

Demonstrate Correlation and Regression by placing and moving data points
dots

Create a quick dotchart (histogram)
limits.g

Functions to plot Shewhart g chart
recenter.Map

Recenter a Map object from the maptools package.
vis.binom

Plot various distributions then interactivly adjust the parameters.
subplot

Embed a new plot within an existing plot
state.vbm

Map object for the US State Visibility Based Map
roc.demo

Demonstrate ROC curves by interactively building one
fagan.plot

Create a Fagan plot to demonstrate Bayes Theorem and screening tests
vis.boxcox

Interactively visualize Box-Cox transformations
identify.Map

Identify polygons within a plotted map from the maptools packages.
ci.examp

Plot examples of Confidence Intervals
tree.demo

Interactively demonstrate regression trees
project.Map

Apply projections to Map objects (from maptools package)