Housekeeping and IO


attach.slab 	Attaches S lab directories		 Intro *

help Prints documentation Intro

ls Liststhe names of personal data sets Intro

ls.class Liststhe names of S lab data sets Intro *

q Quits S Intro

read.data Read in a data set Intro, 1.4 *

rm Remove a data set Intro

setup.slab Sets up session for .lab Intro *

source Execute S commands from a file App. B

write.data Writes out a data set Intro *



Data Manipulation


->            Name and save a data set             Intro

c Combines several data sets into one Intro, 1.1

cat.to.list Creates a list from a vector 2.5 *

data.frame Creates a frame Intro

list Creates a list Intro



Arithmetic


+ - 		 Addition  and subtraction 	 Intro, 1.2

* / Multiplication and division Intro, 1.2

** or * Raising to a power Intro

cos sin Cosine and sine (radians) Intro

exp Exponentiation: Intro

log Natural logarithm Intro, 1.2

sqrt Square Root Intro, 1.1



Statistics


anova		Give an ANOVA table		 3.3

count Count number of true cases 7.2 *

lm Fit a linear model 4.3

means Gives tables of means 3.2

sd Standard deviation 7.3 *

stats Summary statistics Intro, 1.1 *

stem Stem and leaf plot Intro, 1.1

summary Summarize results of fit 4.3

sum Sum numbers 1.5



Graphics


bplot		 Boxplot 		 2.2 *

hplot Histogram 1.3 *

lines Add lines to plot Intro, 4.2

lplot Labeled plot 2.1 *

mplot means plot 3.2 *

plot Basic X-Y plot Intro, 1.3

points Add points to plot Intro, 1.3

set.panel Sets up panel of plots 1.3 *

text Add text to plot 1.3

title Add title to plot 1.3

usa Map of US 1.3

world Map of world 2.4 *

yline Add horizontal line to plot 4.3 *



Generating Data


dbinom pbinom rbinom 		 Binomial distribution		 6.1 *

dexp pexp rexp Exponential distribution 6.1 *

dgam pgam rgam Gamma distribution 6.1 *

dnorm pnorm rnorm Normal distribution 6.1

dunif punif runif Uniform distribution 6.1

dweib pweib rweib Weibull distribution 6.1 *

rbern Bernoulli random variable 6.1 *

seq Create a sequence of numbers Intro

simulate.samples Simulates random samples 7.3 *



.lab data sets


actuator		 Jet propulsion experiment		 2.3 *

airplane Paper airplane experiment 2.5 *

cancer.dat Cancer mortality and smoking amount 4.5 *

capac.shape Capacitance as a function of shape 3.4,5.2 *

cavendish Measurements of the earth's mass 1.5 *

climate Climate data for 50 US cities Intro, 1.1 *

college Data on colleges from 15 states 1.5 *

drill.bit Data on drill bits 2.1 *

earthq Data on earthquakes 2.4 *

etruscan.dat measurements on Etruscan skulls 2.5*

ftp.exp Data on ftp times 5.1 *

insulate.dat Gas consumption 4.5,5.4 *

jet Subset of actuator 3.1 *

lab4.dat Mystery data set 6.4 *

magnet Experiment on magnetic force 3.4,5.3 *

michelson Measurements of the speed of light 2.5 *

monarch.dat Amount lived after inauguration 2.5 *

ncsu Degrees awarded by NCSU 4.5 *

ozone.sw Monthly mean concentrations of ozone 2.5 *

popcorn Popcorn popping experiment 3.5 *

popcorn.n Popcorn popping experiment 5.4 *

precip.feb Raleigh, NC February precipitation 6.2 *

precip.aug Raleigh, NC August precipitation 6.4 *

precip.may Raleigh, NC May precipitation 6.4 *

quake Earthquake locations and strength 2.4 *

raleigh.snow Raleigh, NC yearly snowfall in inches 1.5 *

raleigh.temp Raleigh, NC monthly temperatures 2.4 *

viscosity Experiment on viscosity of liquids 3.5 *

vocab.dat Vocabulary size by age of children 4.5 *

wire.resist Experiment on resistance of wire 5.4 *



Demonstrations


demo.gamma		 Gamma density			6.1 *

lab4.demo Normal random samples 6.2 *