HOW TO GET YOUR DATA: > ftp ftp.isds.duke.edu Name (ftp.isds.duke.edu:hdd): anonymous 331 Guest login ok, send your complete e-mail address as password. Password: ftp> cd pub/heather ftp> get data1 ftp> get forbes ftp> bye YOU CAN GET INTO S-Plus BY TYPING 'Splus' at your prompt. %Splus NOW LET'S PLAY... > temp<-scan("data1") > temp > milk<-c(0,3,5,4,3,2,1,3,1,2,1,1,2,0,1,4,3,2,2,2,2,2,2,3,4) > X11() > plot(temp) > plot(temp,type="l") > hist(temp) > hist(temp,nclass=8) > boxplot(temp) > title("Boxplot of Temperatures") > dotchart(milk) > frq<-c(68,10,22) > pie(frq) > forbes<-read.table("forbes",header=T) > forbes > plot(forbes$Temp,forbes$Press) > windows<-scan() 1: 46 46 47 51 55 6: 54 56 59 9: 56 61 59 63 58 59 15: 55 16: > wordp<-scan() 1: 32 2: 33 3: 35 4: 35 5: 36 36 37 38 38 37 38 39 37 39 40 16: > boxplot(windows,wordp) > mean(windows) [1] 55 > mean(wordp) [1] 36.66667 > median(wordp) [1] 37 > median(windows) [1] 56 > summary(windows) Min. 1st Qu. Median Mean 3rd Qu. Max. 46 52.5 56 55 59 63 > par(mfrow=c(2,2)) > boxplot(windows,wordp) > title("Boxplots") > plot(windows,wordp) > title("Scatterplot") > hist(windows) > title("Histogram for Windows") > hist(wordp) > title("Histogram for WordPerfect") > q() For an online manual on the WEB: http://www.isds.duke.edu/computing/S/Snotes/node1.html