Learn R Programming

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

TeachingDemos (version 1.0)

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

6,445

Version

1.0

License

Artistic

Maintainer

Greg Snow

Last Published

February 17th, 2024

Functions in TeachingDemos (1.0)

sliderv

Create a Tk slider window
rotate.cloud

Interactively rotate 3D plots
strip.shingle

strip function for trellis plots
ci.examp

Plot examples of Confidence Intervals
clt.examp

Plot Examples of the Central Limit Theorem
vis.binom

Plot various distributions then interactivly adjust the parameters.
mle.demo

Demonstrate the basic concept of Maximum Likelihood Estimation
run.hist.demo

Create a histogram and interactively change the number of bars.
faces

Chernoff Faces
tree.demo

Interactively demonstrate regression trees
roc.demo

Demonstrate ROC curves by interactively building one
hpd

Compute Highest Posterior Density Intervals
identify.Map

Identify polygons within a plotted map from the maptools packages.
rgl.Map

Plot a map in an rgl window
dice

Simulate rolling dice
plot.rgl.coin

Animated die roll or coin flip
recenter.Map

Recenter a Map object from the maptools package.
state.vbm

Map object for the US State Visibility Based Map
power.examp

Graphically illustrate the concept of power.
coin.faces

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

Apply projections to Map objects (from maptools package)
slider

slider / button control widgets
lattice.demo

Interactively explore the conditioned panels in lattice plots.
cnvrt.coords

Convert between the 4 different coordinate sytems on a graphical device
run.cor.examp

Interactively demonstrate correlations
loess.demo

Demonstrate the internals of loess curve fits
bct

Box-Cox Transforms
triplot

Create or add to a Trilinear Plot
chisq.detail

Print details of a chi-squared test
put.points.demo

Demonstrate Correlation and Regression by placing and moving data points
z.test

Z test for known population standard deviation
dots

Create a quick dotchart (histogram)
faces2

Chernoff Faces
vis.boxcox

Interactively visualize Box-Cox transformations