11.07.2015 Views

INTRODUCTION TO STATISTICAL MODELLING IN R

INTRODUCTION TO STATISTICAL MODELLING IN R

INTRODUCTION TO STATISTICAL MODELLING IN R

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

P.M.E.Altham, University of Cambridge 21should show you that you have created file.psghostview file.psenables you to look at this file on the screenlp file.psenables you to print out the corresponding graph.catam users:You can also see file.ps via ghostviewPlease await instructions in the practical class if you want to obtain a hard copyof this graph, via Postscript printer (But you may be able to work out this printingoutstep for yourself. Use title(main=”Posh Spice”) for example, to put your nameon the graph before you click on ‘print’.) R-graphs can also be put into a Worddocument.Here is the data-set ‘mammals’, from Weisberg (1985, pp144-5). It is in the Venablesand Ripley (1994) library of data-sets.body brainArctic fox 3.385 44.50Owl monkey 0.480 15.50Mountain beaver 1.350 8.10Cow 465.000 423.00Grey wolf 36.330 119.50Goat 27.660 115.00Roe deer 14.830 98.20Guinea pig 1.040 5.50Verbet 4.190 58.00Chinchilla 0.425 6.40Ground squirrel 0.101 4.00Arctic ground squirrel 0.920 5.70African giant pouched rat 1.000 6.60Lesser short-tailed shrew 0.005 0.14Star-nosed mole 0.060 1.00Nine-banded armadillo 3.500 10.80Tree hyrax 2.000 12.30N.A. opossum 1.700 6.30Asian elephant 2547.000 4603.00Big brown bat 0.023 0.30Donkey 187.100 419.00Horse 521.000 655.00European hedgehog 0.785 3.50Patas monkey 10.000 115.00Cat 3.300 25.60Galago 0.200 5.00Genet 1.410 17.50Giraffe 529.000 680.00Gorilla 207.000 406.00Grey seal 85.000 325.00Rock hyrax-a 0.750 12.30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!