bash$ tcsh login on famine.stat.cmu.edu [linux] from shame.wv.cc.cmu.edu on ttyp0 using dumb [famine]~/classes/707/week01% S S-PLUS : Copyright (c) 1988, 1999 MathSoft, Inc. S : Copyright Lucent Technologies, Inc. Version 5.1 Release 1 for Linux 2.0.31 : 1999 Working data will be in .Data > !ls login on famine.stat.cmu.edu [linux] from shame.wv.cc.cmu.edu on ttyr0 using dumb Prestige.cbk grep-cmds.txt prestige-kdes.ps sdemo1.txt cmds.txt hw01.tex prestige.dat texput.log graphs.aux income-fixvar.ps qqplots-rnorms.ps writing01.aux graphs.dvi income-xforms.ps rem.aux writing01.dvi graphs.log prestige-boxes1.ps rem.dvi writing01.log graphs.ps prestige-boxes2.ps rem.log writing01.tex graphs.tex prestige-hists.ps rem.tex > !cp ~/www/707/data/An* . login on famine.stat.cmu.edu [linux] from shame.wv.cc.cmu.edu on ttyr0 using dumb > !las login on famine.stat.cmu.edu [linux] from shame.wv.cc.cmu.edu on ttyr0 using dumb las: Command not found. > !ls login on famine.stat.cmu.edu [linux] from shame.wv.cc.cmu.edu on ttyr0 using dumb Angell.cbk graphs.log prestige-boxes2.ps rem.tex Angell.dat graphs.ps prestige-hists.ps sdemo1.txt Anscombe.cbk graphs.tex prestige-kdes.ps texput.log Anscombe.dat grep-cmds.txt prestige.dat writing01.aux Prestige.cbk hw01.tex qqplots-rnorms.ps writing01.dvi cmds.txt income-fixvar.ps rem.aux writing01.log graphs.aux income-xforms.ps rem.dvi writing01.tex graphs.dvi prestige-boxes1.ps rem.log > ######################################################### > # > # PROBLEM 3. > # > ######################################################## > > angell _ read.table("Angell.dat") > names(angell) _ scan(what="") 1: moral 2: ethnic 3: geog 4: region 5: > dim(angell) [1] 43 4 > angell[1:10,] moral ethnic geog region Rochester 19.0 20.6 15.0 E Syracuse 17.0 15.6 20.2 E Worcester 16.4 22.1 13.6 E Erie 16.2 14.0 14.8 E Milwaukee 15.8 17.4 17.6 MW Bridgeport 15.3 27.9 17.5 E Buffalo 15.2 22.3 14.7 E Dayton 14.3 23.7 23.8 MW Reading 14.2 10.6 19.4 E Des_Moines 14.1 12.7 31.9 MW > q() [famine]~/classes/707/week01% exit [famine]~/classes/707/week01% exit bash$ exit exit Process shell finished